Skip to content

Commit

Permalink
Switch from rpmalloc to mimalloc
Browse files Browse the repository at this point in the history
This now allows to build on aarch64-apple-darwin (M1/Arm Apple machines)

Fixes EmbarkStudios#137
  • Loading branch information
badboy committed Mar 16, 2021
1 parent ff57380 commit 3b30ca0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 29 deletions.
46 changes: 19 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ smallvec = "1.2"
spdx = "0.3"
structopt = "0.3"
toml = "0.5"
rpmalloc = "0.2"
mimalloc = "0.1.25"
2 changes: 1 addition & 1 deletion src/cargo-about/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ mod generate;
mod init;

#[global_allocator]
static ALLOC: rpmalloc::RpMalloc = rpmalloc::RpMalloc;
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;

#[derive(StructOpt, Debug)]
enum Command {
Expand Down

0 comments on commit 3b30ca0

Please sign in to comment.