]> git.lizzy.rs Git - rust.git/commitdiff
Disable docs on aarch64-apple-darwin.
authorEric Huss <eric@huss.org>
Tue, 18 Jan 2022 04:18:56 +0000 (20:18 -0800)
committerEric Huss <eric@huss.org>
Tue, 18 Jan 2022 04:21:44 +0000 (20:21 -0800)
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.

.github/workflows/ci.yml
src/bootstrap/dist.rs
src/ci/github-actions/ci.yml

index 67deb3d97794222b76c59e78ef8d4f2386843870..fe5dedb6ba4b73be4d4c8c3de58cf85d683e6c12 100644 (file)
@@ -320,7 +320,7 @@ jobs:
           - name: dist-aarch64-apple
             env:
               SCRIPT: "./x.py dist --stage 2"
-              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"
+              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"
               RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
               USE_XCODE_CLANG: 1
               MACOSX_DEPLOYMENT_TARGET: 11.0
index 7d9b3da48ecb0578e12720eddb115844ecea3b66..a46a4e63714c2fe8be4a4a726a08eed119de76ca 100644 (file)
@@ -1483,11 +1483,10 @@ fn filter(contents: &str, marker: &str) -> String {
             };
             prepare("rustc");
             prepare("cargo");
-            prepare("rust-docs");
             prepare("rust-std");
             prepare("rust-analysis");
             prepare("clippy");
-            for tool in &["rust-demangler", "rls", "rust-analyzer", "miri"] {
+            for tool in &["rust-docs", "rust-demangler", "rls", "rust-analyzer", "miri"] {
                 if built_tools.contains(tool) {
                     prepare(tool);
                 }
index ac5d5822bfbd53d23cf34877e1343c6210c6b131..a70cdc4b519e664e9a50fbca8fc3b6cc8649931d 100644 (file)
@@ -496,6 +496,7 @@ jobs:
                 --enable-full-tools
                 --enable-sanitizers
                 --enable-profiler
+                --disable-docs
                 --set rust.jemalloc
                 --set llvm.ninja=false
               RUSTC_RETRY_LINKER_ON_SEGFAULT: 1