On Thu, Nov 27, 2025 at 02:20:34PM +0100, Paolo Bonzini wrote: > Date: Thu, 27 Nov 2025 14:20:34 +0100 > From: Paolo Bonzini <[email protected]> > Subject: [PATCH 7/9] rust: move strict lints handling to meson.build > X-Mailer: git-send-email 2.51.1 > > Simplify rustc_args.py, and align its code with what Meson's own Cargo.toml > translator does in v1.10. > > Bump unknown_lints to "forbid", so that it will certainly override > Cargo.toml's > "allow" level. > > Signed-off-by: Paolo Bonzini <[email protected]> > --- > meson.build | 7 +++---- > scripts/rust/rustc_args.py | 20 ++------------------ > 2 files changed, 5 insertions(+), 22 deletions(-)
After simplification, it has become more readable. Reviewed-by: Zhao Liu <[email protected]>
