From f55033818da86e0dd11cb04d823511453eebf2d4 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sun, 15 Sep 2019 18:20:36 +0200 Subject: [PATCH] Disable crate in Windows + musl builds --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 4dd0cc6..c5d441c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,7 +44,6 @@ ctrlc = "3.1" humantime = "1.1.1" lscolors = "0.6" globset = "0.4" -jemallocator = "0.3.0" [dependencies.clap] version = "2.31.2" @@ -53,6 +52,9 @@ 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] +jemallocator = "0.3.0" + [dev-dependencies] diff = "0.1" tempdir = "0.3"