Target sanity-check in bootstrap incorrect when doing a local-rebuild #130242
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
When doing a local-rebuild, the bootstrap compiler is supposed to be functionally identical to the compiler we are building and thus supports all newly introduced targets. As such all targets in the
STAGE0_MISSING_TARGETS
list would actually be supported. With current nightly doing a local-rebuild results in the following error due to this issue:We should probably set
BOOTSTRAP_SKIP_TARGET_SANITY=1
unconditionally for all local-rebuilds, or alternatively pretendSTAGE0_MISSING_TARGETS
is empty.The text was updated successfully, but these errors were encountered: