Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

scripts: generate_rust_analyzer: Add pin_init -> compiler_builtins dep

Add a dependency edge from `pin_init` to `compiler_builtins` to
`scripts/generate_rust_analyzer.py` to match `rust/Makefile`. This has
been incorrect since commit d7659acca7a3 ("rust: add pin-init crate
build infrastructure").

Signed-off-by: Tamir Duberstein <tamird@kernel.org>
Reviewed-by: Jesung Yang <y.j3ms.n@gmail.com>
Acked-by: Benno Lossin <lossin@kernel.org>
Fixes: d7659acca7a3 ("rust: add pin-init crate build infrastructure")
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20250723-rust-analyzer-pin-init-v1-2-3c6956173c78@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

authored by

Tamir Duberstein and committed by
Miguel Ojeda
98dcca85 5157c328

+1 -1
+1 -1
scripts/generate_rust_analyzer.py
··· 131 131 append_crate( 132 132 "pin_init", 133 133 srctree / "rust" / "pin-init" / "src" / "lib.rs", 134 - ["core", "pin_init_internal", "macros"], 134 + ["core", "compiler_builtins", "pin_init_internal", "macros"], 135 135 cfg=["kernel"], 136 136 ) 137 137