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

From: Miguel Ojeda

Date: Thu Jan 15 2026 - 16:12:46 EST


On Thu, Jan 15, 2026 at 4:51 PM Tamir Duberstein <tamird@xxxxxxxxx> wrote:
>
> Hey Miguel, regarding the rust-analyzer changes:
>
> I see only core was changed to use `core_edition`, but other sysroot
> crates (alloc, std, and proc_macro) still compile with edition 2021
> despite all having been updated in the same upstream PR. Was this
> intentional, or just an omission?

Hmm... I guess we overfocused on `core` here given it was about fixing
that for the main build, and I applied the change of the edition for
`rust-analyzer` too, but then we didn't update the others, but hard to
say.

I see you replied in the linked Zulip and sent the patches -- thanks
for taking a look!

Cheers,
Miguel