mirror of
https://github.com/sharkdp/fd
synced 2024-10-14 11:42:46 +00:00
Disable jemallocator on Windows
This commit is contained in:
parent
5a154866e3
commit
4e20803e7d
|
@ -35,7 +35,8 @@ use crate::internal::{
|
|||
pattern_has_uppercase_char, transform_args_with_exec, FileTypes,
|
||||
};
|
||||
|
||||
// We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/480
|
||||
// We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/481
|
||||
#[cfg(not(windows))]
|
||||
#[global_allocator]
|
||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||
|
||||
|
|
Loading…
Reference in a new issue