Disable jemallocator on Windows

This commit is contained in:
sharkdp 2019-09-15 18:13:29 +02:00 committed by David Peter
parent 5a154866e3
commit 4e20803e7d
1 changed files with 2 additions and 1 deletions

View File

@ -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;