after stage0 redesign, x check
defaults to building the compiler
#141902
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Summary
since #119899,
x check
has a global default of--stage 1
. that makes builds for the default and compiler profiles much slower, because they are building the compiler before checking std.we should do the following things:
profile = "compiler"
should setcheck-stage = 0
(this should be an easy change indefaults/compiler.toml
)x check --stage 0 std
should give a warning if it doesn't alreadynote that after my suggested change,
x check
without arguments will no longer check the standard library forcompiler
profile. that seems ~fine.reported in #t-infra/bootstrap > Stage 0 std redesign support thread @ 💬.
Command used
Expected behaviour
x check
is a ~fast operation, like before.Actual behaviour
x check
takes about twice as long (because it defaults to--stage 1
, which builds the compiler)Bootstrap configuration (bootstrap.toml)
cp config.example.toml config.toml
Operating system
HEAD
52882f6
Additional context
Build Log
The text was updated successfully, but these errors were encountered: