Re: [PATCH] scripts: generate_rust_analyzer: compile sysroot with correct edition
From: Miguel Ojeda
Date: Fri Jan 16 2026 - 14:50:45 EST
On Fri, Jan 16, 2026 at 4:39 PM Tamir Duberstein <tamird@xxxxxxxxxx> wrote:
>
> This makes sense to me. I can send v2 if there's consensus on this approach.
Sounds good, thanks!
I guess I could also do it on apply since, unless I missed something,
it just requires dropping all the `rust/Makefile` changes, but a v2 is
always good for clarity.
> I didn't notice anything specifically broken, but I did confirm that
> things break generally if RA is configured with the wrong edition.
> This prevents it from indexing sysroot crates (I tested locally with
> edition 2015 and observed broken navigation in macros).
>
> In other words it isn't known to be broken today, but a new Rust
> release could break it tomorrow.
Yeah, agreed.
Cheers,
Miguel