bootstrap: rustdoc is off-by-1-stage #123235
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
The
Step
that builds rustdoc decrements the stage by 1 before building. That's very confusing, it means./x.py build rustdoc --stage 0
is a NOP even though usually stage 0 is the stage you want to build!I think instead
Builder::rustdoc
should do this decrementing. Or maybe there should be anAssembleRustdoc
step that matches the currentAssemble
step and does the same stage decrementing there.The current situation is also inconsistent between rustdoc and other similar tools like clippy or Miri; only rustdoc does the stage decrementing in its build
Step
.The text was updated successfully, but these errors were encountered: