Skip to content

Commit

Permalink
Rollup merge of #130420 - jieyouxu:build_helpers_docs, r=onur-ozkan
Browse files Browse the repository at this point in the history
Register tool docs for `src/tools/build_helper`

Fixes #130355.
  • Loading branch information
workingjubilee authored Sep 16, 2024
2 parents 7142e0d + 1f48a67 commit f64d1c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
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

0 comments on commit f64d1c1

Please sign in to comment.