Fix x fix
on the standard library itself
This commit is contained in:
parent
8789e53929
commit
9be0b3e2bc
@ -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 ({} -> {})",
|
||||
|
Loading…
x
Reference in New Issue
Block a user