Skip to content

Commit

Permalink
Rollup merge of rust-lang#122129 - tgross35:rustcdocs-host-only, r=on…
Browse files Browse the repository at this point in the history
…ur-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
GuillaumeGomez authored Mar 7, 2024
2 parents d03d9a4 + 9d9e78e commit ce9a6ad
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 ce9a6ad

Please sign in to comment.