Skip to content

Commit

Permalink
Auto merge of #2124 - RalfJung:rustup-toolchain, r=RalfJung
Browse files Browse the repository at this point in the history
rustup-toolchain: also prepare toolchain for vscode

This is a work-around for rust-lang/cargo#10096.
  • Loading branch information
bors committed May 17, 2022
2 parents 19ef764 + 3406829 commit 3971d3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rustup-toolchain
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3971d3c

Please sign in to comment.