Re: [PATCH] x86/Kconfig: make CFI_AUTO_DEFAULT depend on !RUST
From: Alice Ryhl
Date: Wed Apr 16 2025 - 06:38:23 EST
On Tue, Apr 15, 2025 at 05:15:31PM +0200, Miguel Ojeda wrote:
> On Thu, Apr 10, 2025 at 4:00 PM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
> >
> > I submitted a PR that I believe should fix it:
> > https://github.com/rust-lang/rust/pull/139632
>
> This landed, scheduled for Rust 1.88 (2025-06-26) if all goes well.
>
> Peter: are you OK with landing a patch like this? Well, modified to
> look like this now that we know the version:
>
> depends on FINEIBT
> depends on !RUST || RUSTC_VERSION >= 108800
>
> (assuming we confirm the nightly build works properly)
With that change:
Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
I have tested locally that the upstream PR works together with CFI,
although I did it by backporting the PR to the rustc version I'm using
rather than by using the latest nightly. Not sure if a Tested-by on
*this* patch is warranted from that test ... but if you think so feel
free to add that too.
Alice