Skip to content

Commit

Permalink
Don't call std_cargo to build mir-only sysroots
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed Feb 6, 2024
1 parent 815d312 commit 3611d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/src/core/build_steps/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 3611d5a

Please sign in to comment.