From 0fda53f404337d5b6da91fb1ff361e95a44faeb1 Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Tue, 7 Jul 2020 08:27:35 +0200 Subject: [PATCH] refactor: jemallocator for musl only --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 865e41e..0bf05a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,6 @@ edition = "2018" include = ["src/**/*", "Cargo.toml", "Cargo.lock"] [dependencies] -jemallocator = "0.3.2" iron = "0.6" log = "0.4" chrono = "0.4" @@ -34,6 +33,9 @@ nix = "0.14" signal = "0.7" iron-cors = "0.8" +[target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.jemallocator] +version = "0.3" + [dev-dependencies] openssl = { version = "0.10", features = ["vendored"] } hyper = "0.10" -- libgit2 1.7.2