diff options
Diffstat (limited to 'components/profile/lib.rs')
-rw-r--r-- | components/profile/lib.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/components/profile/lib.rs b/components/profile/lib.rs index 96b8edb7e17..d01aad61cd0 100644 --- a/components/profile/lib.rs +++ b/components/profile/lib.rs @@ -2,17 +2,14 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#![cfg_attr(all(feature = "unstable", not(target_os = "windows")), feature(alloc_jemalloc))] - #![deny(unsafe_code)] #[allow(unused_extern_crates)] -#[cfg(all(feature = "unstable", not(target_os = "windows")))] -extern crate alloc_jemalloc; extern crate heartbeats_simple; extern crate influent; extern crate ipc_channel; -#[allow(unused_extern_crates)] +#[cfg(all(feature = "unstable", not(target_os = "windows")))] +extern crate jemalloc_sys; #[cfg(not(target_os = "windows"))] extern crate libc; #[macro_use] |