mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-17 17:35:16 +01:00
Disable jemalloc for musl builds
This commit is contained in:
parent
4e20803e7d
commit
1ab4e87dda
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue