mirror of
https://github.com/sharkdp/fd
synced 2024-10-06 07:49:18 +00:00
Disable jemalloc for musl builds
This commit is contained in:
parent
4e20803e7d
commit
1ab4e87dda
|
@ -37,6 +37,7 @@ use crate::internal::{
|
||||||
|
|
||||||
// We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/481
|
// We use jemalloc for performance reasons, see https://github.com/sharkdp/fd/pull/481
|
||||||
#[cfg(not(windows))]
|
#[cfg(not(windows))]
|
||||||
|
#[cfg(not(target_env = "musl"))]
|
||||||
#[global_allocator]
|
#[global_allocator]
|
||||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue