diff options
| author | Trevor Gross <tmgross@umich.edu> | 2024-03-07 02:50:06 -0500 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2024-03-07 02:50:06 -0500 |
| commit | 9d9e78e94264668d436981a38206f44de13a9c69 (patch) | |
| tree | 3c2918fee078315d02b9e762a5118fa9339e2167 | |
| parent | 7d3702e472b99be0f5de6608dd87af1df8f99428 (diff) | |
| download | rust-9d9e78e94264668d436981a38206f44de13a9c69.tar.gz rust-9d9e78e94264668d436981a38206f44de13a9c69.zip | |
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; |
