about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-05 14:05:05 +0000
committerbors <bors@rust-lang.org>2024-10-05 14:05:05 +0000
commite561499e90d354b651ea23c93d2441ba971f6522 (patch)
tree6adfc13567bc406d7af37726165c5f0e4805c5fe /compiler/rustc_lint/src
parentf559d6188828b738ce7e7c2e4d99bf03111336d6 (diff)
parentf59c8fffe3c821f93ced12e628404f9ba7eec3bf (diff)
downloadrust-e561499e90d354b651ea23c93d2441ba971f6522.tar.gz
rust-e561499e90d354b651ea23c93d2441ba971f6522.zip
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](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 https://github.com/rust-lang/rust/pull/128986.
CC `@Zoxc`
Diffstat (limited to 'compiler/rustc_lint/src')
0 files changed, 0 insertions, 0 deletions