mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
parent
f2c64ba15d
commit
fc9c2915c7
3 changed files with 22 additions and 20 deletions
|
@ -24,7 +24,7 @@ pub use crate::memory_usage::{Bytes, MemoryUsage};
|
|||
|
||||
// We use jemalloc mainly to get heap usage statistics, actual performance
|
||||
// difference is not measures.
|
||||
#[cfg(feature = "jemalloc")]
|
||||
#[cfg(all(feature = "jemalloc", not(target_env = "msvc")))]
|
||||
#[global_allocator]
|
||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue