Clean up cfg line

This commit is contained in:
sharkdp 2019-09-15 18:30:13 +02:00 committed by David Peter
parent f55033818d
commit 9350c8544d
2 changed files with 2 additions and 3 deletions

View File

@ -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]

View File

@ -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;