diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-03-07 15:07:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-07 15:07:10 +0100 |
| commit | ce9a6adba90a80b1642d55931006a52bde4e0c3f (patch) | |
| tree | 8269d0a36196833682e5e8655f05358e005363d5 | |
| parent | d03d9a4e9bea1d57d495449062d236aedda0f99d (diff) | |
| parent | 9d9e78e94264668d436981a38206f44de13a9c69 (diff) | |
| download | rust-ce9a6adba90a80b1642d55931006a52bde4e0c3f.tar.gz rust-ce9a6adba90a80b1642d55931006a52bde4e0c3f.zip | |
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 https://github.com/rust-lang/rust/issues/110071. Fixes #110071
| -rw-r--r-- | src/bootstrap/src/core/build_steps/dist.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/build_steps/dist.rs b/src/bootstrap/src/core/build_steps/dist.rs index 6c7cc3bf6a7..c8c32fb8699 100644 --- a/src/bootstrap/src/core/build_steps/dist.rs +++ b/src/bootstrap/src/core/build_steps/dist.rs @@ -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; |
