Re: [PATCH 2/6] scripts: generate_rust_analyzer: plumb editions via command line

From: Miguel Ojeda

Date: Tue Jan 20 2026 - 08:57:58 EST


On Tue, Jan 20, 2026 at 9:54 AM Eliot Courtney <ecourtney@xxxxxxxxxx> wrote:
>
> Add --editions argument to pass crate editions in a similar way to the
> existing --cfgs mechanism.
>
> It sets editions as follows:
> - core: 2024 for rustc >= 1.87 otherwise 2021
> - quote: 2018
> - all others: 2021

Could you please explain in the commit message the reasons behind the
change? i.e. commit messages should explain the "why" (advantages
etc.), not just the "what".

Thanks!

Cheers,
Miguel