Just hide mimalloc behind a feature, available for all platforms

This commit is contained in:
Félix Saparelli 2022-07-06 23:33:51 +12:00
parent e66dc60867
commit 63afa5b791
No known key found for this signature in database
GPG key ID: B948C4BAE44FC474
2 changed files with 2 additions and 4 deletions

View file

@ -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;