Skip to content

Commit b4d81aa

Browse files
committed
scripts: update rust-analyzer for local alloc
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 023ccfc commit b4d81aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/generate_rust_analyzer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ def append_crate(display_name, root_module, is_workspace_member, deps, cfg):
5656

5757
append_crate(
5858
"alloc",
59-
sysroot_src / "alloc" / "src" / "lib.rs",
60-
False,
59+
srctree / "rust" / "alloc" / "lib.rs",
60+
True,
6161
["core", "compiler_builtins"],
6262
[],
6363
)

0 commit comments

Comments
 (0)