Skip to content

Commit 9d9e78e

Browse files
committed
Set RustcDocs to only run on host
`./x dist` currently crashes when cross compiling. Add the fix described by @catamorphism in #110071. Fixes #110071
1 parent 7d3702e commit 9d9e78e

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)