mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-06 04:00:02 +00:00
Just hide mimalloc behind a feature, available for all platforms
This commit is contained in:
parent
e66dc60867
commit
63afa5b791
2 changed files with 2 additions and 4 deletions
|
@ -25,7 +25,7 @@ use cargo_binstall::{
|
|||
*,
|
||||
};
|
||||
|
||||
#[cfg(all(feature = "mimalloc", any(windows, target_env = "musl")))]
|
||||
#[cfg(feature = "mimalloc")]
|
||||
#[global_allocator]
|
||||
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue