Files
linux/scripts
Onur Özkan 1b83ef9f7a scripts: generate_rust_analyzer: remove sysroot assertion
With nixpkgs's rustc, rust-src component is not bundled
with the compiler by default and is instead provided from
a separate store path, so this assumption does not hold.

The assertion assumes these paths are in the same location
which causes `make LLVM=1 rust-analyzer` to fail on NixOS.

Link: https://rust-for-linux.zulipchat.com/#narrow/stream/x/topic/x/near/565284250
Signed-off-by: Onur Özkan <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Fixes: fe99216357 ("rust: Support latest version of `rust-analyzer`")
Cc: [email protected]
Link: https://patch.msgid.link/[email protected]
[ Reworded title. - Miguel ]
Signed-off-by: Miguel Ojeda <[email protected]>
2026-01-18 20:24:15 +01:00
..
2024-10-07 02:12:27 +09:00
…
…
…
…
…
2024-11-28 08:11:56 +09:00
2025-11-03 17:41:18 +01:00