Skip to content

Commit c5d661a

Browse files
committed
add comment
1 parent 42c14ab commit c5d661a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/check.rs

+3
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ impl Step for Std {
140140
cargo_subcommand(builder.kind),
141141
);
142142

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

0 commit comments

Comments
 (0)