Make jemalloc only used on linux

This commit is contained in:
Clément Renault 2019-11-25 15:35:13 +01:00
parent ae88bc31bc
commit 4869a88ae2
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

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