Navigation Menu

Skip to content

Commit

Permalink
Omit stdarch test crates from the rust-src component
Browse files Browse the repository at this point in the history
These crates aren't necessary for building the standard library. This
saves 30MB of disk space.

Fixes #94906
  • Loading branch information
bjorn3 committed Mar 13, 2022
1 parent 4800c78 commit cd5e75a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bootstrap/dist.rs
Expand Up @@ -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,
);
Expand Down

0 comments on commit cd5e75a

Please sign in to comment.