1280: Make sure that we do not use jemalloc on macos r=MarinPostma a=Kerollmops

We were wrongly compiling jemalloc on macOS even though we did use it only on Linux.

Fixes #1136.

Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
bors[bot] 2021-03-08 19:10:21 +00:00 committed by GitHub
commit 07e7acc35d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,5 +82,5 @@ branch = "master"
[build-dependencies] [build-dependencies]
vergen = "3.1.0" vergen = "3.1.0"
[target.'cfg(unix)'.dependencies] [target.'cfg(target_os = "linux")'.dependencies]
jemallocator = "0.3.2" jemallocator = "0.3.2"