Make jemalloc only used on linux
@@ -16,7 +16,6 @@ heed = "0.5.0"
http = "0.1.19"
indexmap = { version = "1.3.0", features = ["serde-1"] }
isahc = "0.7.6"
-jemallocator = "0.3.2"
log = "0.4.8"
main_error = "0.1.0"
meilidb-core = { path = "../meilidb-core", version = "0.8.0" }
@@ -56,3 +55,6 @@ rev = "e77709370bb24cf776fe6da902467c35131535b1"
[build-dependencies]
vergen = "3.0.4"
+
+[target.'cfg(unix)'.dependencies]
+jemallocator = "0.3.2"
