about summary refs log tree commit diff
path: root/src/test/debuginfo/tuple-struct.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-05-22 04:52:38 +0000
committerbors <bors@rust-lang.org>2020-05-22 04:52:38 +0000
commitc60b675e280fedded8d8487acd051cd342e486f2 (patch)
treed6005b3e9a71d1df899576e4004965ada27f1109 /src/test/debuginfo/tuple-struct.rs
parent458a3e76294fd859fb037f425404180c91e14767 (diff)
parent9c97b3cbf16584385111cf6f2c41d4482f41a6cd (diff)
downloadrust-c60b675e280fedded8d8487acd051cd342e486f2.tar.gz
rust-c60b675e280fedded8d8487acd051cd342e486f2.zip
Auto merge of #72000 - cuviper:dist-llvm, r=Mark-Simulacrum
Move the target libLLVM to llvm-tools-preview

For running the compiler, we usually only need LLVM from `$sysroot/lib`,
which rustup will make available with `LD_LIBRARY_PATH`. We've also been
shipping LLVM in the `$target/lib` directory, which bloats the download
and installed size. The only times we do need the latter are for the
RPATH of `llvm-tools-preview` binaries, and for linking `rustc-dev`
libraries. We'll move it to the `llvm-tools-preview` component directly,
and `rustc-dev` will have an implicit dependency on it.

Here are the dist sizes that I got before and after this change:

    llvm-tools-1.45.0-dev-x86_64-unknown-linux-gnu.tar.gz     1.3M   24M
    llvm-tools-1.45.0-dev-x86_64-unknown-linux-gnu.tar.xz     748K   17M
    rustc-1.45.0-dev-x86_64-unknown-linux-gnu.tar.gz          83M    61M
    rustc-1.45.0-dev-x86_64-unknown-linux-gnu.tar.xz          56M    41M

The installed size should reduce by exactly one `libLLVM.so` (~70-80M),
unless you also install `llvm-tools`, and then it should be identical.

Resolves #70838.
Diffstat (limited to 'src/test/debuginfo/tuple-struct.rs')
0 files changed, 0 insertions, 0 deletions