mirror of
https://github.com/sharkdp/fd
synced 2024-10-04 14:59:15 +00:00
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]
|
||||
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"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -36,8 +36,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"))]
|
||||
#[cfg(all(not(windows), not(target_env = "musl")))]
|
||||
#[global_allocator]
|
||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||
|
||||
|
|
Loading…
Reference in a new issue