Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jo3bingham committed Aug 1, 2022
1 parent 42c14ab commit c5d661a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bootstrap/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ impl Step for Std {
cargo_subcommand(builder.kind),
);

// If we're not in stage 0, tests and examples will fail to compile
// from `core` definitions being loaded from two different `libcore`
// .rmeta and .rlib files.
if compiler.stage == 0 {
cargo.arg("--all-targets");
}
Expand Down

0 comments on commit c5d661a

Please sign in to comment.