Skip to content

Commit 58725e0

Browse files
authored
Unrolled build for #158336
Rollup merge of #158336 - CathalMullan:stdarch-dist, r=Mark-Simulacrum Stop excluding `stdarch` test crates from `rust-src` In the past, this exclusion saved 30MB of heavy intrinsics data from ending up in `rust-src`. However, this filter has been outdated since rust-lang/stdarch#1894, which moved the data to `library/stdarch/intrinsics_data`. These intrinsics have also shrunk since then, and now sit around 12MB (300KB when compressed). So this specific change only adds a few KBs: | `rust-src` | compressed | unpacked | | ---------- | ---------- | -------- | | before | 8.01 MB | 76.5 MB | | after | 8.06 MB | 76.9 MB | The motivation for this change would be simplifying integration of the `stdarch` test suite into `cg_clif`. For completeness, if we instead fixed the filter to point to the new data location, we'd shrink the dist to: | `rust-src` | compressed | unpacked | | ---------- | ---------- | -------- | | filtered | 7.64 MB | 64.7 MB | cc @bjorn3
2 parents 8e25b41 + f446391 commit 58725e0

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • src/bootstrap/src/core/build_steps

‎src/bootstrap/src/core/build_steps/dist.rs‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,11 +1201,6 @@ impl Step for Src {
12011201
// not needed and contains symlinks which rustup currently
12021202
// chokes on when unpacking.
12031203
"library/backtrace/crates",
1204-
// these are 30MB combined and aren't necessary for building
1205-
// the standard library.
1206-
"library/stdarch/Cargo.toml",
1207-
"library/stdarch/crates/stdarch-verify",
1208-
"library/stdarch/crates/intrinsic-test",
12091204
],
12101205
&dst_src,
12111206
);

0 commit comments

Comments
 (0)