]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust: use native Meson support for clippy and rustdoc
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 5 Apr 2025 12:18:17 +0000 (14:18 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 3 Jun 2025 20:42:18 +0000 (22:42 +0200)
commit2409089b87692700deb38fc0b8ac94e31b70ffc3
tree125941fb8c51dc6883254d70904ab645b53535bc
parent18c9f4a1729db1389218983379f6d62a9e550754
rust: use native Meson support for clippy and rustdoc

Meson has support for invoking clippy and rustdoc on all crates (1.7.0 for
clippy, 1.8.0 for rustdoc).  Use it instead of the homegrown version; this
requires disabling the multiple_crate_versions lint (the only one that was
enabled from the "cargo" group)---which was not particularly useful anyway
because all dependencies are converted by hand into Meson subprojects.

rustfmt is still not supported.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
clippy.toml [moved from rust/clippy.toml with 55% similarity]
docs/devel/rust.rst
meson.build
rust/Cargo.toml
rust/meson.build
scripts/rust/rustc_args.py