./miri toolchain: no need to run 'cargo metadata'
This commit is contained in:
parent
8bb5f8cae4
commit
c52d522298
1 changed files with 0 additions and 5 deletions
|
|
@ -231,11 +231,6 @@ impl Command {
|
|||
cmd!(sh, "rustup override set miri").run()?;
|
||||
// Cleanup.
|
||||
cmd!(sh, "cargo clean").run()?;
|
||||
// Call `cargo metadata` on the sources in case that changes the lockfile
|
||||
// (which fails under some setups when it is done from inside vscode).
|
||||
let sysroot = cmd!(sh, "rustc --print sysroot").read()?;
|
||||
let sysroot = sysroot.trim();
|
||||
cmd!(sh, "cargo metadata --format-version 1 --manifest-path {sysroot}/lib/rustlib/rustc-src/rust/compiler/rustc/Cargo.toml").ignore_stdout().run()?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue