Skip to content

Commit 457b596

Browse files
authored
Unrolled build for rust-lang#125639
Rollup merge of rust-lang#125639 - ChrisDenton:run-make-support-doc, r=onur-ozkan Support `./x doc run-make-support --open` Having easy access to the run-make-support documentation is invaluable when creating run-make tests using the new Rust recipes.
2 parents da159eb + ef9e6ca commit 457b596

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

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

+8
Original file line numberDiff line numberDiff line change
@@ -1028,6 +1028,14 @@ tool_doc!(
10281028
is_library = true,
10291029
crates = ["bootstrap"]
10301030
);
1031+
tool_doc!(
1032+
RunMakeSupport,
1033+
"run_make_support",
1034+
"src/tools/run-make-support",
1035+
rustc_tool = false,
1036+
is_library = true,
1037+
crates = ["run_make_support"]
1038+
);
10311039

10321040
#[derive(Ord, PartialOrd, Debug, Clone, Hash, PartialEq, Eq)]
10331041
pub struct ErrorIndex {

src/bootstrap/src/core/builder.rs

+1
Original file line numberDiff line numberDiff line change
@@ -888,6 +888,7 @@ impl<'a> Builder<'a> {
888888
doc::Tidy,
889889
doc::Bootstrap,
890890
doc::Releases,
891+
doc::RunMakeSupport,
891892
),
892893
Kind::Dist => describe!(
893894
dist::Docs,

src/tools/run-make-support/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ macro_rules! impl_common_helpers {
362362
self
363363
}
364364

365-
/// Inspect what the underlying [`Command`][::std::process::Command] is up to the
365+
/// Inspect what the underlying [`Command`] is up to the
366366
/// current construction.
367367
pub fn inspect<I>(&mut self, inspector: I) -> &mut Self
368368
where

src/tools/run-make-support/src/rustc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ impl Rustc {
203203
self
204204
}
205205

206-
/// Get the [`Output`][::std::process::Output] of the finished process.
206+
/// Get the [`Output`] of the finished process.
207207
#[track_caller]
208208
pub fn command_output(&mut self) -> ::std::process::Output {
209209
// let's make sure we piped all the input and outputs

src/tools/run-make-support/src/rustdoc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl Rustdoc {
9494
self
9595
}
9696

97-
/// Get the [`Output`][::std::process::Output] of the finished process.
97+
/// Get the [`Output`] of the finished process.
9898
#[track_caller]
9999
pub fn command_output(&mut self) -> ::std::process::Output {
100100
// let's make sure we piped all the input and outputs

0 commit comments

Comments
 (0)