Merge pull request #332 from meilisearch/jemalloc-only-on-linux

Make jemalloc only used on linux
This commit is contained in:
Clément Renault 2019-11-25 16:13:54 +01:00 committed by GitHub
commit 276d3f8e22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"