mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
Also use mimalloc on musl
This commit is contained in:
parent
57c6125fc1
commit
e66dc60867
3 changed files with 26 additions and 3 deletions
|
@ -68,8 +68,12 @@ zstd = { version = "0.10.0", features = ["bindgen", "zstdmt"], default-features
|
|||
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies]
|
||||
guess_host_triple = "0.1.3"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
mimalloc = { version = "0.1.29", default-features = false}
|
||||
[target.'cfg(any(windows, target_env = "musl"))'.dependencies]
|
||||
mimalloc = { version = "0.1.29", default-features = false, optional = true }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
mimalloc = ["dep:mimalloc"]
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.9.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue