diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-12-19 08:27:23 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-12-19 08:27:23 -0800 |
| commit | ba0ed5b13f23dd6e4ff0047a653ee615b84a67f2 (patch) | |
| tree | 0124e69aa132788dd09e8853692ffd1f8de3eab1 /src/librustc_driver/lib.rs | |
| parent | 6f839fbb0d407956777529b029fbb0d6cc6e4318 (diff) | |
| download | rust-ba0ed5b13f23dd6e4ff0047a653ee615b84a67f2.tar.gz rust-ba0ed5b13f23dd6e4ff0047a653ee615b84a67f2.zip | |
rustc: Move jemalloc from rustc_driver to rustc
This commit moves jemalloc to just the rustc binary rather than the rustc_driver shared library, enusring that it's only used for binaries that opt-in to it like rustc rather than other binaries using librustc_driver like rustdoc/rls/etc. This will hopefully address #56980
Diffstat (limited to 'src/librustc_driver/lib.rs')
| -rw-r--r-- | src/librustc_driver/lib.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs index 41c9b22afe0..fcf7331b8ab 100644 --- a/src/librustc_driver/lib.rs +++ b/src/librustc_driver/lib.rs @@ -64,14 +64,6 @@ extern crate syntax; extern crate syntax_ext; extern crate syntax_pos; -// Note that the linkage here should be all that we need, on Linux we're not -// prefixing the symbols here so this should naturally override our default -// allocator. On OSX it should override via the zone allocator. We shouldn't -// enable this by default on other platforms, so other platforms aren't handled -// here yet. -#[cfg(feature = "jemalloc-sys")] -extern crate jemalloc_sys; - use driver::CompileController; use pretty::{PpMode, UserIdentifiedItem}; |
