Skip to content

Commit 6a1099c

Browse files
committed
Disable docs on aarch64-apple-darwin.
This builder is the slowest in the fleet. This should cut a considerable amount of time. The manifest should now include the docs from x86_64-apple-darwin. Although those docs are slightly different, it should be close enough. When aarch64-apple-darwin heads towards tier 1, we can revisit whether or not to re-enable the docs.
1 parent 52fdd2d commit 6a1099c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ jobs:
320320
- name: dist-aarch64-apple
321321
env:
322322
SCRIPT: "./x.py dist --stage 2"
323-
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --host=aarch64-apple-darwin --target=aarch64-apple-darwin --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
323+
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --host=aarch64-apple-darwin --target=aarch64-apple-darwin --enable-full-tools --enable-sanitizers --enable-profiler --disable-docs --set rust.jemalloc --set llvm.ninja=false"
324324
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
325325
USE_XCODE_CLANG: 1
326326
MACOSX_DEPLOYMENT_TARGET: 11.0

src/bootstrap/dist.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1483,11 +1483,10 @@ impl Step for Extended {
14831483
};
14841484
prepare("rustc");
14851485
prepare("cargo");
1486-
prepare("rust-docs");
14871486
prepare("rust-std");
14881487
prepare("rust-analysis");
14891488
prepare("clippy");
1490-
for tool in &["rust-demangler", "rls", "rust-analyzer", "miri"] {
1489+
for tool in &["rust-docs", "rust-demangler", "rls", "rust-analyzer", "miri"] {
14911490
if built_tools.contains(tool) {
14921491
prepare(tool);
14931492
}

src/ci/github-actions/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ jobs:
496496
--enable-full-tools
497497
--enable-sanitizers
498498
--enable-profiler
499+
--disable-docs
499500
--set rust.jemalloc
500501
--set llvm.ninja=false
501502
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1

0 commit comments

Comments
 (0)