Skip to content

Commit

Permalink
Unrolled build for rust-lang#122129
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rust-timer authored Mar 7, 2024
2 parents 52f8aec + 9d9e78e commit 9b6bc72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bootstrap/src/core/build_steps/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ pub struct RustcDocs {
impl Step for RustcDocs {
type Output = Option<GeneratedTarball>;
const DEFAULT: bool = true;
const ONLY_HOSTS: bool = true;

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

0 comments on commit 9b6bc72

Please sign in to comment.