Skip to content

Commit c7030d3

Browse files
authored
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
2 parents d14ba95 + cd5e75a commit c7030d3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/bootstrap/dist.rs

+5
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,11 @@ impl Step for Src {
821821
// not needed and contains symlinks which rustup currently
822822
// chokes on when unpacking.
823823
"library/backtrace/crates",
824+
// these are 30MB combined and aren't necessary for building
825+
// the standard library.
826+
"library/stdarch/crates/Cargo.toml",
827+
"library/stdarch/crates/stdarch-verify",
828+
"library/stdarch/crates/intrinsic-test",
824829
],
825830
&dst_src,
826831
);

0 commit comments

Comments
 (0)