Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 5 pull requests #130426

Merged
merged 10 commits into from
Sep 16, 2024
Prev Previous commit
Next Next commit
bootstrap: register tool docs for src/tools/build_helper
  • Loading branch information
jieyouxu committed Sep 16, 2024
commit 1f48a67a257eec3d21204a89fc74f00bcf1b2a5d
8 changes: 8 additions & 0 deletions src/bootstrap/src/core/build_steps/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,14 @@ macro_rules! tool_doc {
}
}

// NOTE: make sure to register these in `Builder::get_step_description`.
tool_doc!(
BuildHelper,
"src/tools/build_helper",
rustc_tool = false,
is_library = true,
crates = ["build_helper"]
);
tool_doc!(Rustdoc, "src/tools/rustdoc", crates = ["rustdoc", "rustdoc-json-types"]);
tool_doc!(Rustfmt, "src/tools/rustfmt", crates = ["rustfmt-nightly", "rustfmt-config_proc_macro"]);
tool_doc!(Clippy, "src/tools/clippy", crates = ["clippy_config", "clippy_utils"]);
Expand Down
1 change: 1 addition & 0 deletions src/bootstrap/src/core/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,7 @@ impl<'a> Builder<'a> {
doc::Bootstrap,
doc::Releases,
doc::RunMakeSupport,
doc::BuildHelper,
),
Kind::Dist => describe!(
dist::Docs,
Expand Down
Loading