Skip to content

Commit 3406829

Browse files
committed
rustup-toolchain: also prepare toolchain for vscode
1 parent 19ef764 commit 3406829

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rustup-toolchain

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,7 @@ rustup override set miri
4444

4545
# Cleanup.
4646
cargo clean
47+
48+
# Call 'cargo metadata' on the sources in case that changes the lockfile
49+
# (which fails under soem setups when it is done from inside vscode).
50+
cargo metadata --format-version 1 --manifest-path "$(rustc --print sysroot)/lib/rustlib/rustc-src/rust/compiler/rustc/Cargo.toml" >/dev/null

0 commit comments

Comments
 (0)