Skip to content

Commit f64d1c1

Browse files
Rollup merge of #130420 - jieyouxu:build_helpers_docs, r=onur-ozkan
Register tool docs for `src/tools/build_helper` Fixes #130355.
2 parents 7142e0d + 1f48a67 commit f64d1c1

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/bootstrap/src/core/build_steps/doc.rs

+8
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,14 @@ macro_rules! tool_doc {
10131013
}
10141014
}
10151015

1016+
// NOTE: make sure to register these in `Builder::get_step_description`.
1017+
tool_doc!(
1018+
BuildHelper,
1019+
"src/tools/build_helper",
1020+
rustc_tool = false,
1021+
is_library = true,
1022+
crates = ["build_helper"]
1023+
);
10161024
tool_doc!(Rustdoc, "src/tools/rustdoc", crates = ["rustdoc", "rustdoc-json-types"]);
10171025
tool_doc!(Rustfmt, "src/tools/rustfmt", crates = ["rustfmt-nightly", "rustfmt-config_proc_macro"]);
10181026
tool_doc!(Clippy, "src/tools/clippy", crates = ["clippy_config", "clippy_utils"]);

src/bootstrap/src/core/builder.rs

+1
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,7 @@ impl<'a> Builder<'a> {
944944
doc::Bootstrap,
945945
doc::Releases,
946946
doc::RunMakeSupport,
947+
doc::BuildHelper,
947948
),
948949
Kind::Dist => describe!(
949950
dist::Docs,

0 commit comments

Comments
 (0)