We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 116819f commit 42c14abCopy full SHA for 42c14ab
src/bootstrap/check.rs
@@ -140,7 +140,10 @@ impl Step for Std {
140
cargo_subcommand(builder.kind),
141
);
142
143
- cargo.arg("--all-targets");
+ if compiler.stage == 0 {
144
+ cargo.arg("--all-targets");
145
+ }
146
+
147
std_cargo(builder, target, compiler.stage, &mut cargo);
148
149
// Explicitly pass -p for all dependencies krates -- this will force cargo
0 commit comments