Skip to content

Commit 4e36e07

Browse files
ahabhgk何庚坤
andauthored
chore: move jemallocator to cli features (parcel-bundler#157)
Co-authored-by: 何庚坤 <hegengkun.ahab@bytedance.com>
1 parent 3ddd411 commit 4e36e07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ rayon = "1.5.1"
4545
dashmap = "5.0.0"
4646

4747
[target.'cfg(target_os = "macos")'.dependencies]
48-
jemallocator = { version = "0.3.2", features = ["disable_initial_exec_tls"] }
48+
jemallocator = { version = "0.3.2", features = ["disable_initial_exec_tls"], optional = true }
4949

5050
[dev-dependencies]
5151
indoc = "1.0.3"
@@ -55,7 +55,7 @@ predicates = "2.1"
5555

5656
[features]
5757
default = ["grid"]
58-
cli = ["clap", "serde_json", "pathdiff", "browserslist-rs"]
58+
cli = ["clap", "serde_json", "pathdiff", "browserslist-rs", "jemallocator"]
5959
grid = []
6060

6161
[[test]]

0 commit comments

Comments
 (0)