diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-07-20 13:24:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-20 13:24:51 +0200 |
| commit | 3a9bfa397dd59eddebb87dba7dc0142bf88184b7 (patch) | |
| tree | a7984fb73a0b770b676b0d360c16baae47135f80 /src/tools | |
| parent | 1afc5fd042f7583b9668dd62be98325487483d1c (diff) | |
| parent | 0636293fb740c96e7a52cf53452b728b1cf9e834 (diff) | |
Rollup merge of #127463 - onur-ozkan:precompiled-rustdoc, r=Kobzol
use precompiled rustdoc with CI rustc When CI rustc is enabled and rustdoc sources are unchanged, we can use the precompiled rustdoc from the CI rustc's sysroot. This speeds up bootstrapping quite a lot by avoiding unnecessary rustdoc compilation.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/build_helper/src/git.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/build_helper/src/git.rs b/src/tools/build_helper/src/git.rs index b4522de6897..8be38dc855f 100644 --- a/src/tools/build_helper/src/git.rs +++ b/src/tools/build_helper/src/git.rs @@ -7,7 +7,7 @@ pub struct GitConfig<'a> { } /// Runs a command and returns the output -fn output_result(cmd: &mut Command) -> Result<String, String> { +pub fn output_result(cmd: &mut Command) -> Result<String, String> { let output = match cmd.stderr(Stdio::inherit()).output() { Ok(status) => status, Err(e) => return Err(format!("failed to run command: {:?}: {}", cmd, e)), |
