diff options
| author | Ralf Jung <post@ralfj.de> | 2025-07-01 07:24:40 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-07-01 07:24:40 +0200 |
| commit | c52d5222981879f44e2cb28a1a62ae659ea2e19b (patch) | |
| tree | 68f2ec1e240aaeb6ed0d89bd5a67e135f6834b3c | |
| parent | 8bb5f8cae4607190b92db6693bb5ab5931d82412 (diff) | |
| download | rust-c52d5222981879f44e2cb28a1a62ae659ea2e19b.tar.gz rust-c52d5222981879f44e2cb28a1a62ae659ea2e19b.zip | |
./miri toolchain: no need to run 'cargo metadata'
| -rw-r--r-- | src/tools/miri/miri-script/src/commands.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tools/miri/miri-script/src/commands.rs b/src/tools/miri/miri-script/src/commands.rs index a3778215019..e948beef004 100644 --- a/src/tools/miri/miri-script/src/commands.rs +++ b/src/tools/miri/miri-script/src/commands.rs @@ -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(()) } |
