Skip to content

Commit 5bfa32f

Browse files
tamirdgregkh
authored andcommitted
scripts: generate_rust_analyzer: Add pin_init -> compiler_builtins dep
commit 98dcca8 upstream. 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 d7659ac ("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: d7659ac ("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent e82f822 commit 5bfa32f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/generate_rust_analyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def append_sysroot_crate(
110110
append_crate(
111111
"pin_init",
112112
srctree / "rust" / "pin-init" / "src" / "lib.rs",
113-
["core", "pin_init_internal", "macros"],
113+
["core", "compiler_builtins", "pin_init_internal", "macros"],
114114
cfg=["kernel"],
115115
)
116116

0 commit comments

Comments
 (0)