rustup-toolchain: also prepare toolchain for vscode
This commit is contained in:
parent
19ef76477c
commit
3406829bb3
@ -44,3 +44,7 @@ rustup override set miri
|
|||||||
|
|
||||||
# Cleanup.
|
# Cleanup.
|
||||||
cargo clean
|
cargo clean
|
||||||
|
|
||||||
|
# Call 'cargo metadata' on the sources in case that changes the lockfile
|
||||||
|
# (which fails under soem setups when it is done from inside vscode).
|
||||||
|
cargo metadata --format-version 1 --manifest-path "$(rustc --print sysroot)/lib/rustlib/rustc-src/rust/compiler/rustc/Cargo.toml" >/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user