rustup-toolchain: also prepare toolchain for vscode

This commit is contained in:
Ralf Jung 2022-05-17 15:36:59 +02:00
parent 19ef76477c
commit 3406829bb3

View File

@ -44,3 +44,7 @@ rustup override set miri
# Cleanup.
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