about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2019-01-02 13:23:45 -0800
committerAlex Crichton <alex@alexcrichton.com>2019-01-03 13:52:36 -0800
commitccbf28eae8b345db3ede51112cc32c756a084bd9 (patch)
tree5f48795503b2ea4984b18347bfd9af701f9f3671 /src/test/incremental/thinlto
parenta36b960df626cbb8bea74f01243318b73f0bd201 (diff)
downloadrust-ccbf28eae8b345db3ede51112cc32c756a084bd9.tar.gz
rust-ccbf28eae8b345db3ede51112cc32c756a084bd9.zip
rustc: Fix regression where jemalloc isn't used
In #56986 the linkage of jemalloc to the compiler was switched from the
driver library to the rustc binary to ensure that only rustc itself uses
jemalloc. In doing so, however, it turns out jemalloc wasn't actually
linked in at all! None of the symbols were referenced so the static
library wasn't used. This means that jemalloc wasn't pulled in at all.

This commit performs a bit of a dance to reference jemalloc symbols,
attempting to pull it in despite LLVM's optimizations.

Closes #57115
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions