Re: [RFC PATCH] rust: kbuild: support global per-version flags
From: Miguel Ojeda
Date: Mon Mar 16 2026 - 09:45:15 EST
On Mon, Mar 16, 2026 at 1:50 PM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> Note that I've not started running with clippy yet, currently due to
> Linus' tree having:
>
> error: current MSRV (Minimum Supported Rust Version) is `1.78.0` but this item is stable since `1.79.0`
This was fixed in upstream Clippy in Rust 1.90.0 due to a request we
made (thanks to Tamir):
https://github.com/rust-lang/rust-clippy/issues/14425
I would suggest to allow the lint locally (perhaps once at the top of
the file). This will go away this cycle since I am going to bump the
minimum version to Debian Trixie's.
Alternatively, we could use the patch above to add
`clippy::incompatible_msrv`, but that is more involved, and allowing
it locally is what we did elsewhere too.
Cheers,
Miguel