Skip to content

Commit 9b6bc72

Browse files
authored
Unrolled build for rust-lang#122129
Rollup merge of rust-lang#122129 - tgross35:rustcdocs-host-only, r=onur-ozkan Set `RustcDocs` to only run on host `./x dist` currently crashes when cross compiling. Add the fix described by `@catamorphism` in rust-lang#110071. Fixes rust-lang#110071
2 parents 52f8aec + 9d9e78e commit 9b6bc72

File tree

1 file changed

+1
-0
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-0
lines changed

src/bootstrap/src/core/build_steps/dist.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ pub struct RustcDocs {
129129
impl Step for RustcDocs {
130130
type Output = Option<GeneratedTarball>;
131131
const DEFAULT: bool = true;
132+
const ONLY_HOSTS: bool = true;
132133

133134
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
134135
let builder = run.builder;

0 commit comments

Comments
 (0)