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

View file

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