miri: add -Zbinary-dep-depinfo to dependency builds
This commit is contained in:
parent
d196db781e
commit
13d9d6559f
1 changed files with 4 additions and 0 deletions
|
|
@ -173,6 +173,10 @@ impl TestContext {
|
|||
p.envs.push(("RUSTC_SNAPSHOT".into(), Some(rustc.into())));
|
||||
p.envs.push(("RUSTC_SNAPSHOT_LIBDIR".into(), Some(libdir.into())));
|
||||
p.envs.push(("RUSTC_SYSROOT".into(), Some(sysroot.into())));
|
||||
// Ensure we rebuild the dependencies when the sysroot changes.
|
||||
// (Bootstrap usually sets this automatically, but since we invoke cargo
|
||||
// ourselves we have to do it.)
|
||||
p.args.push("-Zbinary-dep-depinfo".into());
|
||||
}
|
||||
p
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue