Re: [PATCH] scripts: generate_rust_analyzer.py: define scripts
From: Miguel Ojeda
Date: Tue Jan 27 2026 - 10:26:12 EST
On Tue, Jan 27, 2026 at 2:53 PM Tamir Duberstein <tamird@xxxxxxxxxx> wrote:
>
> It depends on your perspective - I framed it as a fix of the commit
> that added the first script because that script was added without RA
> support. What do you think?
Yeah, I see.
So, on the implementation side, I don't think we expected scripts to
work at all, which is why it sounds to me like a feature (neither the
linked commit nor the one that added rust-analyzer overall support
mentions it that I can see, though it doesn't say otherwise either).
But perhaps someone out there expected it to actually work and thus
may think of it as a fix. I don't recall someone asking for it, but I
haven't checked. Perhaps someone would, when we use more and more Rust
scripts.
Now, for the backport part, according to the official rules, I think
it wouldn't fit. But those rules are often relaxed and who knows what
companies out there doing out-of-tree work on top of LTS kernels
want... (Commits can be submitted there even if they are not fixes, by
the way).
Cheers,
Miguel