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
This commit is contained in:
bjorn3 2022-03-13 15:09:48 +01:00
parent 4800c7816e
commit cd5e75a691

View File

@ -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,
);