Don't call std_cargo to build mir-only sysroots
This commit is contained in:
parent
2116ed723d
commit
476f91cbf7
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ impl Step for Std {
|
|||
let mut cargo = if self.is_for_mir_opt_tests {
|
||||
let mut cargo = builder.cargo(compiler, Mode::Std, SourceType::InTree, target, "check");
|
||||
cargo.rustflag("-Zalways-encode-mir");
|
||||
std_cargo(builder, target, compiler.stage, &mut cargo);
|
||||
cargo.arg("--manifest-path").arg(builder.src.join("library/sysroot/Cargo.toml"));
|
||||
cargo
|
||||
} else {
|
||||
let mut cargo = builder.cargo(compiler, Mode::Std, SourceType::InTree, target, "build");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue