about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <arielb1@mail.tau.ac.il>2017-04-26 22:11:08 +0000
committerGitHub <noreply@github.com>2017-04-26 22:11:08 +0000
commit95c2f06162916b3fa0c65ad504cbc0da6bc9c8a3 (patch)
treee7347121980c9811ba21cc2f2a2c6ac191e53e14 /src/test/incremental/thinlto
parentc6ff8326ecf6e069460f19442d78a935b7b3022a (diff)
parentb9bdb1766d68dbe5da0e0cd65b2227186004d2cf (diff)
downloadrust-95c2f06162916b3fa0c65ad504cbc0da6bc9c8a3.tar.gz
rust-95c2f06162916b3fa0c65ad504cbc0da6bc9c8a3.zip
Rollup merge of #41546 - cuviper:reduced-rust-src, r=alexcrichton
Shrink the rust-src component

Before this change, the installable rust-src component had essentially the same contents as the rustc-src dist tarball, just additionally wrapped in a rust-installer.  As discussed on [internals], rust-src is only meant to support uses for the standard library, so it doesn't really need the rest of the compiler sources.

Now rust-src only contains libstd and its path dependencies, which roughly matches the set of crates that have rust-analysis data.  The result is **significantly** smaller, from 36MB to 1.3MB compressed, and from 247MB to 8.5MB uncompressed.

[internals]: https://internals.rust-lang.org/t/minimizing-the-rust-src-component/5117
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions