Re: [PATCH] x86/Kconfig: make CFI_AUTO_DEFAULT depend on !RUST
From: Miguel Ojeda
Date: Thu Apr 10 2025 - 10:09:14 EST
On Thu, Apr 10, 2025 at 3:57 PM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> Remove the offending Rust code? Afaict from this github issue, it is
> just some formatting nonsense. Surely code can be adjusted to not use
> that?
If you mean not using the formatting machinery from our side, then
that is a major change -- we should just fix it upstream, really.
If you mean fixing it upstream, definitely, but we should still
prevent people from building an invalid kernel, i.e. when Alice's PR
or similar lands upstream, then we can relax the `depends on` based on
the Rust version (which is something we have done for other bits).
Cheers,
Miguel