diff options
Diffstat (limited to 'crates/ra_prof/src/lib.rs')
-rw-r--r-- | crates/ra_prof/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_prof/src/lib.rs b/crates/ra_prof/src/lib.rs index e5385f51b..845b2221c 100644 --- a/crates/ra_prof/src/lib.rs +++ b/crates/ra_prof/src/lib.rs | |||
@@ -24,7 +24,7 @@ pub use crate::memory_usage::{Bytes, MemoryUsage}; | |||
24 | 24 | ||
25 | // We use jemalloc mainly to get heap usage statistics, actual performance | 25 | // We use jemalloc mainly to get heap usage statistics, actual performance |
26 | // difference is not measures. | 26 | // difference is not measures. |
27 | #[cfg(feature = "jemalloc")] | 27 | #[cfg(all(feature = "jemalloc", not(target_env = "msvc")))] |
28 | #[global_allocator] | 28 | #[global_allocator] |
29 | static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; | 29 | static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; |
30 | 30 | ||