mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-06 04:00:02 +00:00
Use mimalloc on windows
This commit is contained in:
parent
3348d3d7a2
commit
fe724585ae
2 changed files with 7 additions and 0 deletions
|
@ -25,6 +25,10 @@ use cargo_binstall::{
|
|||
*,
|
||||
};
|
||||
|
||||
#[cfg(windows)]
|
||||
#[global_allocator]
|
||||
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
|
||||
#[derive(Debug, Parser)]
|
||||
#[clap(version, about = "Install a Rust binary... from binaries!")]
|
||||
struct Options {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue