about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-01-06 07:48:16 +0000
committerbors <bors@rust-lang.org>2019-01-06 07:48:16 +0000
commitaf2c159cc38f251a8e7d43cf1f98806392fbddcf (patch)
treed0ab985b404fca1a578b0bed5ccdfde5c9d11266 /src/rustllvm/RustWrapper.cpp
parent2d7c8e981dc3ce2c4b31489b39dd2abbbad6bfff (diff)
parentccbf28eae8b345db3ede51112cc32c756a084bd9 (diff)
downloadrust-af2c159cc38f251a8e7d43cf1f98806392fbddcf.tar.gz
rust-af2c159cc38f251a8e7d43cf1f98806392fbddcf.zip
Auto merge of #57287 - alexcrichton:fix-jemalloc, r=nikomatsakis
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/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions