diff options
| author | Joseph Bingham <jo3bingham@gmail.com> | 2022-07-15 19:06:56 +0100 |
|---|---|---|
| committer | Joseph Bingham <jo3bingham@gmail.com> | 2022-07-15 19:06:56 +0100 |
| commit | 42c14ab3a803a2997436ccc65cffe0f19b0459fe (patch) | |
| tree | 09da038ee4f9d3ff8480ea23da51bc6b5d0a972f | |
| parent | 116819f54f062a2f425deac4ec29245038c26613 (diff) | |
| download | rust-42c14ab3a803a2997436ccc65cffe0f19b0459fe.tar.gz rust-42c14ab3a803a2997436ccc65cffe0f19b0459fe.zip | |
only run --all-targets in stage0
| -rw-r--r-- | src/bootstrap/check.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bootstrap/check.rs b/src/bootstrap/check.rs index 9196b78c513..ec17a7b4dfe 100644 --- a/src/bootstrap/check.rs +++ b/src/bootstrap/check.rs @@ -140,7 +140,10 @@ impl Step for Std { cargo_subcommand(builder.kind), ); - cargo.arg("--all-targets"); + if compiler.stage == 0 { + cargo.arg("--all-targets"); + } + std_cargo(builder, target, compiler.stage, &mut cargo); // Explicitly pass -p for all dependencies krates -- this will force cargo |
