Skip to content

Commit 3971d3c

Browse files
committed
Auto merge of #2124 - RalfJung:rustup-toolchain, r=RalfJung
rustup-toolchain: also prepare toolchain for vscode This is a work-around for rust-lang/cargo#10096.
2 parents 19ef764 + 3406829 commit 3971d3c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rustup-toolchain

+4
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)