From c5d661a01cd085c26417b90b57c86e01ea1009f3 Mon Sep 17 00:00:00 2001 From: Joseph Bingham Date: Mon, 1 Aug 2022 20:15:33 +0100 Subject: [PATCH] add comment --- src/bootstrap/check.rs | 3 +++ 1 file changed, 3 insertions(+) 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 @@ fn run(self, builder: &Builder<'_>) { 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"); }