about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-03-13 20:02:02 +0100
committerGitHub <noreply@github.com>2022-03-13 20:02:02 +0100
commitc7030d3eb36ffe024e795eb9e6eeba0ebcbb1cd4 (patch)
tree88baada24cbdbf000edf2da204d0a04adc2e9f53
parentd14ba9580697aec22b65041e19666624e76a44a2 (diff)
parentcd5e75a691f68167df16b6a98fafcbc41d4afd57 (diff)
downloadrust-c7030d3eb36ffe024e795eb9e6eeba0ebcbb1cd4.tar.gz
rust-c7030d3eb36ffe024e795eb9e6eeba0ebcbb1cd4.zip
Rollup merge of #94907 - bjorn3:smaller_rust_src_component, r=Mark-Simulacrum
Omit stdarch test crates from the rust-src component

These crates aren't necessary for building the standard library. This saves 30MB of disk space.

Fixes #94906
-rw-r--r--src/bootstrap/dist.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
index 5f92cc2ca6f..76054122d00 100644
--- a/src/bootstrap/dist.rs
+++ b/src/bootstrap/dist.rs
@@ -821,6 +821,11 @@ impl Step for Src {
                 // not needed and contains symlinks which rustup currently
                 // chokes on when unpacking.
                 "library/backtrace/crates",
+                // these are 30MB combined and aren't necessary for building
+                // the standard library.
+                "library/stdarch/crates/Cargo.toml",
+                "library/stdarch/crates/stdarch-verify",
+                "library/stdarch/crates/intrinsic-test",
             ],
             &dst_src,
         );