Skip to content

Commit 00013a0

Browse files
committed
bootstrap: update comment for STAGE0_MISSING_TARGETS
1 parent a6525d5 commit 00013a0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/bootstrap/src/core/sanity.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ pub struct Finder {
2828
path: OsString,
2929
}
3030

31-
// During sanity checks, we search for target names to determine if they exist in the compiler's built-in
32-
// target list (`rustc --print target-list`). While a target name may be present in the stage2 compiler,
33-
// it might not yet be included in stage0. In such cases, we handle the targets missing from stage0 in this list.
34-
//
35-
// Targets can be removed from this list once they are present in the stage0 compiler (usually by updating the beta compiler of the bootstrap).
31+
/// During sanity checks, we search for target tuples to determine if they exist in the compiler's
32+
/// built-in target list (`rustc --print target-list`). While a target tuple may be present in the
33+
/// in-tree compiler, the stage 0 compiler might not yet know about it (assuming not operating with
34+
/// local-rebuild). In such cases, we handle the targets missing from stage 0 in this list.
35+
///
36+
/// Targets can be removed from this list during the usual release process bootstrap compiler bumps.
3637
const STAGE0_MISSING_TARGETS: &[&str] = &[
3738
// just a dummy comment so the list doesn't get onelined
3839
"riscv64im-unknown-none-elf",

0 commit comments

Comments
 (0)