Re: [PATCH] scripts: generate_rust_analyzer: Add ffi crate

Miguel Ojeda
2025-04-08T17:50:31Z

On Fri, Apr 4, 2025 at 2:53 PM Lukas Fischer <kernel@o1oo11oo.de> wrote:
>
> Commit d072acda4862 ("rust: use custom FFI integer types") did not
> update rust-analyzer to include the new crate.
>
> To enable rust-analyzer support for these custom ffi types, add the
> `ffi` crate as a dependency to the `bindings`, `uapi` and `kernel`
> crates, which all directly depend on it.
>
> Fixes: d072acda4862 ("rust: use custom FFI integer types")
> Signed-off-by: Lukas Fischer <kernel@o1oo11oo.de>

Applied to `rust-fixes` -- thanks everyone!

I added `Cc: stable@`, though it is not critical if it gets backported or not.

Cheers,
Miguel