]> git.lizzy.rs Git - rust.git/commit
Auto merge of #64823 - cuviper:min-std, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Thu, 10 Oct 2019 23:43:55 +0000 (23:43 +0000)
committerbors <bors@rust-lang.org>
Thu, 10 Oct 2019 23:43:55 +0000 (23:43 +0000)
commit000d90b11f7be70ffb7812680f7abc6deb52ec88
tree7d8633ef9a2b069d9801b93666c79be5a0119af0
parent898f36c83cc28d7921a1d7b3605323dc5cfcf533
parentd3052540993b6acf009d39949b79077a49544934
Auto merge of #64823 - cuviper:min-std, r=Mark-Simulacrum

minimize the rust-std component

This changes the `rust-std` dist component to only include the artifacts of compiling the `libstd` step, as listed in `.libstd.stamp`. This does include `test` and `proc-macro` as well. The remaining _unstable_ libraries that are built as part of `rustc` are packaged into a new `rustc-dev` component, intended for use in the development of closely related tools (clippy, miri, rls).

Here are the component sizes from the [try build](https://dev-static.rust-lang.org/dist/2019-10-07/index.html):

| Name | Size
| --- | ---
| rust-std-nightly-x86_64-unknown-linux-gnu.tar.gz | 23.94 MiB
| rust-std-nightly-x86_64-unknown-linux-gnu.tar.xz | 17.4 MiB
| rustc-dev-nightly-x86_64-unknown-linux-gnu.tar.gz | 182.03 MiB
| rustc-dev-nightly-x86_64-unknown-linux-gnu.tar.xz | 157.91 MiB

Fixes #61978
Fixes #62486
src/bootstrap/builder.rs