Skip to content

Commit ce9a6ad

Browse files
Rollup merge of #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 #110071. Fixes #110071
2 parents d03d9a4 + 9d9e78e commit ce9a6ad

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

+1
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)