rust: build: move strict lints handling to rustc_args.py
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Nov 2024 09:14:49 +0000 (10:14 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Dec 2024 17:44:06 +0000 (18:44 +0100)
commitde98c17593218e1c713c6e5d8ad7242c17d90e7e
tree60f036ff6202b9402b0106d7b79938afce7a752c
parent90868c3dcec755f567426d1fad64e7611053778e
rust: build: move strict lints handling to rustc_args.py

Make Cargo use unknown_lints = "allow" as well.  This is more future
proof as we might add new lints to rust/Cargo.toml that are not supported
by older versions of rustc or clippy.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build
rust/Cargo.toml
scripts/rust/rustc_args.py