We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
x fix
1 parent 8789e53 commit 9be0b3eCopy full SHA for 9be0b3e
src/bootstrap/check.rs
@@ -99,6 +99,10 @@ impl Step for Std {
99
cargo_subcommand(builder.kind),
100
);
101
std_cargo(builder, target, compiler.stage, &mut cargo);
102
+ if matches!(builder.config.cmd, Subcommand::Fix { .. }) {
103
+ // By default, cargo tries to fix all targets. Tell it not to fix tests until we've added `test` to the sysroot.
104
+ cargo.arg("--lib");
105
+ }
106
107
builder.info(&format!(
108
"Checking stage{} library artifacts ({} -> {})",
0 commit comments