mirror of https://github.com/sharkdp/fd.git
Clean up cfg line
This commit is contained in:
parent
f55033818d
commit
9350c8544d
|
@ -52,7 +52,7 @@ features = ["suggestions", "color", "wrap_help"]
|
||||||
[target.'cfg(all(unix, not(target_os = "redox")))'.dependencies]
|
[target.'cfg(all(unix, not(target_os = "redox")))'.dependencies]
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
|
|
||||||
[target.'cfg(all(unix, not(target_os = "redox"), not(target_env = "musl")))'.dependencies]
|
[target.'cfg(all(not(windows), not(target_env = "musl")))'.dependencies]
|
||||||
jemallocator = "0.3.0"
|
jemallocator = "0.3.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -36,8 +36,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(all(not(windows), not(target_env = "musl")))]
|
||||||
#[cfg(not(target_env = "musl"))]
|
|
||||||
#[global_allocator]
|
#[global_allocator]
|
||||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue