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 7, 2024
1 parent 2116ed7 commit 476f91c
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 476f91c

Please sign in to comment.