mirror of
https://github.com/sharkdp/fd.git
synced 2026-08-31 01:15:43 +08:00
Disable jemalloc for musl builds
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user