mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-18 09:50:34 +01:00
Disable jemallocator on Windows
This commit is contained in:
parent
5a154866e3
commit
4e20803e7d
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ use crate::internal::{
|
||||||
pattern_has_uppercase_char, transform_args_with_exec, FileTypes,
|
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]
|
#[global_allocator]
|
||||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue