enable jemalloc only on linux

This commit is contained in:
mpostma
2021-03-12 17:44:39 +01:00
parent c61fab1435
commit 49b74b587a
4 changed files with 4 additions and 21 deletions

View File

@ -81,5 +81,5 @@ urlencoding = "1.1.1"
[features]
default = ["sentry"]
[target.'cfg(unix)'.dependencies]
[target.'cfg(target_os = "linux")'.dependencies]
jemallocator = "0.3.2"