Skip to content

Commit

Permalink
Fix x fix on the standard library itself
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 committed Feb 3, 2023
1 parent 8789e53 commit 9be0b3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bootstrap/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ impl Step for Std {
cargo_subcommand(builder.kind),
);
std_cargo(builder, target, compiler.stage, &mut cargo);
if matches!(builder.config.cmd, Subcommand::Fix { .. }) {
// By default, cargo tries to fix all targets. Tell it not to fix tests until we've added `test` to the sysroot.
cargo.arg("--lib");
}

builder.info(&format!(
"Checking stage{} library artifacts ({} -> {})",
Expand Down

0 comments on commit 9be0b3e

Please sign in to comment.