Disable jemalloc for musl builds

This commit is contained in:
sharkdp 2019-09-15 18:18:56 +02:00 committed by David Peter
parent 4e20803e7d
commit 1ab4e87dda

View file

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