Re: [PATCH] scripts: generate_rust_analyzer: fix pin-init name in kernel deps

From: Miguel Ojeda
Date: Mon Mar 31 2025 - 04:07:07 EST


On Mon, Mar 31, 2025 at 8:18 AM Lalaev, Andrei
<andrei.lalaev@xxxxxxxxxxxxxx> wrote:
>
> Because of different crate names ("pin-init" and "pin_init") passed to
> "append_crate" and "append_crate_with_generated", the script fails with
> "KeyError: 'pin-init'".
> To overcome the issue, pass the same name to both functions.
>
> Signed-off-by: Andrei Lalaev <andrei.lalaev@xxxxxxxxxxxxxx>

Thanks, good catch -- indeed, there was a typo in the merge.

I will add a Fixes tag, send another merge typo I noticed, and send
them as a quick PR after they are in -next.

Cheers,
Miguel