File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,12 +97,14 @@ jobs:
9797 . "$HOME/.cargo/env"
9898 echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
9999 # We need a nightly rust-analyzer for the Rust SCIP tests.
100- # We symlink the real binary into LOCAL_BIN rather than
101- # relying on the rustup proxy, which would try to find
100+ # We symlink the real binary from the toolchain directory
101+ # into LOCAL_BIN (which precedes ~/.cargo/bin in PATH),
102+ # bypassing the rustup proxy which would try to find
102103 # rust-analyzer in the default (stable) toolchain.
103104 rustup toolchain install nightly-2025-06-11
104105 rustup component add rust-analyzer --toolchain nightly-2025-06-11
105- ln -sf "$(rustup run nightly-2025-06-11 which rust-analyzer)" "$LOCAL_BIN"/rust-analyzer
106+ NIGHTLY_DIR="$(rustup run nightly-2025-06-11 rustc --print sysroot)/bin"
107+ ln -sf "$NIGHTLY_DIR/rust-analyzer" "$LOCAL_BIN"/rust-analyzer
106108
107109 - name : Build scip-to-glean
108110 run : cd glean/lang/scip/indexer/scip_to_glean && cargo build --release
You can’t perform that action at this time.
0 commit comments