rust/src/rustc
Alex Crichton ccbf28eae8 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
2019-01-03 13:52:36 -08:00
..
Cargo.toml rustc: Fix regression where jemalloc isn't used 2019-01-03 13:52:36 -08:00
rustc.rs rustc: Fix regression where jemalloc isn't used 2019-01-03 13:52:36 -08:00