Stop excluding stdarch test crates from rust-src#158336
Conversation
|
r? @jieyouxu rustbot has assigned @jieyouxu. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@bors r+ rollup=iffy Hm, those ~12MB we'd get by dropping the data after unpacking would be nice, but I think we can take the current step for now -- seems broadly harmless. I wonder if the implication there is that intrinsics_data should store compressed copies of the data, rather than keeping the raw contents in the repository? Or at least support using a compressed form (in which case we could compress in bootstrap for example)? Most users would probably be happier with that disk space use (and it's probably a bit faster to write to disk as well). r? me |
…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
…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
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 tolibrary/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-srcThe motivation for this change would be simplifying integration of the
stdarchtest suite intocg_clif.For completeness, if we instead fixed the filter to point to the new data location, we'd shrink the dist to:
rust-srccc @bjorn3