mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Don't call std_cargo to build mir-only sysroots
This commit is contained in:
parent
2116ed723d
commit
476f91cbf7
@ -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…
Reference in New Issue
Block a user