about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/bootstrap/check.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/check.rs b/src/bootstrap/check.rs
index ec17a7b4dfe..aa033d87c42 100644
--- a/src/bootstrap/check.rs
+++ b/src/bootstrap/check.rs
@@ -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");
         }