Re: [PATCH] rust: compile libcore with edition 2024 for 1.87+

From: Miguel Ojeda
Date: Mon May 19 2025 - 13:03:12 EST


On Sat, May 17, 2025 at 10:56 AM Gary Guo <gary@xxxxxxxxxxx> wrote:
>
> Rust 1.87 (released on 2025-05-15) compiles core library with edition
> 2024 instead of 2021 [1]. Ensure that the edition matches libcore's
> expectation to avoid potential breakage.
>
> Cc: stable@xxxxxxxxxxxxxxx # Needed in 6.12.y and later (Rust is pinned in older LTSs).
> Link: https://github.com/rust-lang/rust/pull/138162 [1]
> Closes: https://github.com/Rust-for-Linux/linux/issues/1163
> Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>

Cc'ing est31 -- I will add:

Reported-by: est31 <est31@xxxxxxxxxxxxxx>

Thanks!

Cheers,
Miguel