From 4e20803e7dfe20527887aabeb9ce2d9cca4155b8 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sun, 15 Sep 2019 18:13:29 +0200 Subject: [PATCH] Disable jemallocator on Windows --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 96964fa..2abefb3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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;