Skip to content

Commit

Permalink
Auto merge of #131188 - Kobzol:remove-libstd-so-from-sysroot, r=onur-…
Browse files Browse the repository at this point in the history
…ozkan

Do not copy libstd dynamic library to sysroot

Since rust-lang/rust#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](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Failing.20incr.20tests.20on.20Windows.20when.20std.2Edll.20is.20missing/near/474507064)).

This is an extended version of rust-lang/rust#128986.
CC `@Zoxc`
  • Loading branch information
bors committed Oct 5, 2024
2 parents 883525a + a578be1 commit e4b2475
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit e4b2475

Please sign in to comment.