From 1ab4e87dda273a8485f3ac7f3dcdba4be7a55b7e Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sun, 15 Sep 2019 18:18:56 +0200 Subject: [PATCH] Disable jemalloc for musl builds --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 2abefb3..29fb37b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -37,6 +37,7 @@ use crate::internal::{ // We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/481 #[cfg(not(windows))] +#[cfg(not(target_env = "musl"))] #[global_allocator] static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;