Remove rustc's std copy by Zoxc · Pull Request #128986 · rust-lang/rust (original) (raw)
bors added a commit to rust-lang-ci/rust that referenced this pull request
`` [Auto merge of](/rust-lang-ci/rust/commit/e561499e90d354b651ea23c93d2441ba971f6522 "Auto merge of #131188 - Kobzol:remove-libstd-so-from-sysroot, r=onur-ozkan
Do not copy libstd dynamic library to sysroot
Since https://github.com/rust-lang/rust/pull/122362, rustc links statically to libstd.[so|dll]. Which means that the libstd.[so|dll] file no longer has to be in the rustc sysroot. However, we are currently still shipping this file, in every new release of Rust, for no reason, it's just wasted bytes.
This PR removes the dynamic library file from the built sysroot.
However, it is not yet performed on Windows, because stage0 incremental tests start failing there (see description of the issue here).
This is an extended version of https://github.com/rust-lang/rust/pull/128986.
CC @Zoxc
") rust-lang#131188 [- Kobzol:remove-libstd-so-from-sysroot…](/rust-lang-ci/rust/commit/e561499e90d354b651ea23c93d2441ba971f6522 "Auto merge of #131188 - Kobzol:remove-libstd-so-from-sysroot, r=onur-ozkan
Do not copy libstd dynamic library to sysroot
Since https://github.com/rust-lang/rust/pull/122362, rustc links statically to libstd.[so|dll]. Which means that the libstd.[so|dll] file no longer has to be in the rustc sysroot. However, we are currently still shipping this file, in every new release of Rust, for no reason, it's just wasted bytes.
This PR removes the dynamic library file from the built sysroot.
However, it is not yet performed on Windows, because stage0 incremental tests start failing there (see description of the issue here).
This is an extended version of https://github.com/rust-lang/rust/pull/128986.
CC @Zoxc
") ``
[e561499](/rust-lang-ci/rust/commit/e561499e90d354b651ea23c93d2441ba971f6522)
…, r=onur-ozkan
Do not copy libstd dynamic library to sysroot
Since rust-lang#122362, rustc links statically to libstd.[so|dll]. Which means that the libstd.[so|dll] file no longer has to be in the rustc sysroot. However, we are currently still shipping this file, in every new release of Rust, for no reason, it's just wasted bytes.
This PR removes the dynamic library file from the built sysroot.
However, it is not yet performed on Windows, because stage0 incremental tests start failing there (see description of the issue here).
This is an extended version of rust-lang#128986.
CC @Zoxc