Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Apr 2, 2024
1 parent adf053a commit f03d8e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ zip = { version = "0.6", default-features = false, features = ["deflate"] }

[target.'cfg(target_env = "musl")'.dependencies]
# Faster allocator for musl builds
mimalloc = { version = "*", default-features = false }
mimalloc = { version = "0.1", default-features = false }

[dev-dependencies]
insta = "1.12"
Expand Down
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#[cfg(target_env = "musl")]
use mimalloc::MiMalloc;
#[cfg(target_env = "musl")]
#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;

use anyhow::{Context as _, Error};
use camino::Utf8PathBuf as PathBuf;
Expand Down

0 comments on commit f03d8e8

Please sign in to comment.