aboutsummaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-02-06 12:26:12 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2025-02-07 15:51:01 +0100
commit6b03c038067f2171110425593f722df8f4d19d17 (patch)
treec29b2dfacae3c5a5ea945bf0e6578b9f7222ee67 /rust
parent2590c02a5fc2d7e48b03f9ec46c302d5512b7526 (diff)
downloadqemu-6b03c038067f2171110425593f722df8f4d19d17.zip
qemu-6b03c038067f2171110425593f722df8f4d19d17.tar.gz
qemu-6b03c038067f2171110425593f722df8f4d19d17.tar.bz2
rust: add clippy configuration file
Configure the minimum supported Rust version (though strictly speaking that's redundant with Cargo.toml), and the list of CamelCase identifiers that are not Rust types. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust')
-rw-r--r--rust/clippy.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/clippy.toml b/rust/clippy.toml
new file mode 100644
index 0000000..5d190f9
--- /dev/null
+++ b/rust/clippy.toml
@@ -0,0 +1,2 @@
+doc-valid-idents = ["PrimeCell", ".."]
+msrv = "1.63.0"