diff --git a/helpers/Cargo.toml b/helpers/Cargo.toml index 73c776db0..3a778cdab 100644 --- a/helpers/Cargo.toml +++ b/helpers/Cargo.toml @@ -8,7 +8,9 @@ edition = "2018" anyhow = "1.0.38" byte-unit = { version = "4.0.9", default-features = false, features = ["std"] } heed = "0.10.6" -jemallocator = "0.3.2" milli = { path = "../milli" } stderrlog = "0.5.1" structopt = { version = "0.3.21", default-features = false } + +[target.'cfg(target_os = "linux")'.dependencies] +jemallocator = "0.3.2" diff --git a/infos/Cargo.toml b/infos/Cargo.toml index d526afa1f..8043b9fe8 100644 --- a/infos/Cargo.toml +++ b/infos/Cargo.toml @@ -9,9 +9,11 @@ anyhow = "1.0.38" byte-unit = { version = "4.0.9", default-features = false, features = ["std"] } csv = "1.1.5" heed = "0.10.6" -jemallocator = "0.3.2" milli = { path = "../milli" } roaring = "0.6.6" serde_json = "1.0.62" stderrlog = "0.5.1" structopt = { version = "0.3.21", default-features = false } + +[target.'cfg(target_os = "linux")'.dependencies] +jemallocator = "0.3.2" diff --git a/search/Cargo.toml b/search/Cargo.toml index b9e9731e6..364900b05 100644 --- a/search/Cargo.toml +++ b/search/Cargo.toml @@ -8,9 +8,11 @@ edition = "2018" anyhow = "1.0.38" byte-unit = { version = "4.0.9", default-features = false, features = ["std"] } heed = "0.10.6" -jemallocator = "0.3.2" log = "0.4.14" milli = { path = "../milli" } serde_json = "1.0.62" stderrlog = "0.5.1" structopt = { version = "0.3.21", default-features = false } + +[target.'cfg(target_os = "linux")'.dependencies] +jemallocator = "0.3.2"