Skip to content

Enforce in bootstrap that doc must have stage at least 1#145011

Merged
bors merged 13 commits into
rust-lang:masterfrom
Kobzol:bootstrap-doc
Aug 11, 2025
Merged

Enforce in bootstrap that doc must have stage at least 1#145011
bors merged 13 commits into
rust-lang:masterfrom
Kobzol:bootstrap-doc

Conversation

@Kobzol

@Kobzol Kobzol commented Aug 6, 2025

Copy link
Copy Markdown
Member

Following with the bootstrap cleanups, this time around doc steps. Should be pretty straightforward, because the supporting infrastructure was already there.

The only thing I found a bit fishy is using Mode::ToolBootstrap as a "catch-all" mode for non-rustc-private steps in tool_doc!, but I don't think that we need to distinguish the tools in some special way when documenting them, apart from supporting rustc_private.

Before, x doc more or less defaulted to what we call stage 2 now. Now it is properly stage 1, so e.g. x doc compiler documents the compiler using the stage0/beta rust(do)c.

r? @jieyouxu

try-job: dist-aarch64-msvc

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants