diff --git a/Cargo.lock b/Cargo.lock index 141c97935..660cb4e9d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1716,15 +1716,6 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" -[[package]] -name = "libmimalloc-sys" -version = "0.1.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d1eacfa31c33ec25e873c136ba5669f00f9866d0688bea7be4d3f7e43067df6" -dependencies = [ - "cc", -] - [[package]] name = "libredox" version = "0.1.16" @@ -1796,15 +1787,6 @@ dependencies = [ "libc", ] -[[package]] -name = "mimalloc" -version = "0.1.50" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3627c4272df786b9260cabaa46aec1d59c93ede723d4c3ef646c503816b0640" -dependencies = [ - "libmimalloc-sys", -] - [[package]] name = "minimal-lexical" version = "0.2.1" @@ -2447,7 +2429,6 @@ dependencies = [ "inferno", "libc", "memmap2", - "mimalloc", "napi", "napi-build", "napi-derive", diff --git a/Cargo.toml b/Cargo.toml index 5c879a1b7..14c4d2db3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -224,7 +224,6 @@ xxhash-rust = { version = "0.8", features = ["xxh64"] } # Memory Management & Allocators # ────────────────────────────────────────────────────────────────────────────── memmap2 = "0.9" -mimalloc = "0.1" # ────────────────────────────────────────────────────────────────────────────── # System & Platform diff --git a/crates/pi-natives/Cargo.toml b/crates/pi-natives/Cargo.toml index d21570380..1137ff346 100644 --- a/crates/pi-natives/Cargo.toml +++ b/crates/pi-natives/Cargo.toml @@ -28,7 +28,6 @@ ignore.workspace = true image.workspace = true inferno.workspace = true memmap2.workspace = true -mimalloc.workspace = true napi.workspace = true napi-derive.workspace = true parking_lot.workspace = true diff --git a/crates/pi-natives/src/lib.rs b/crates/pi-natives/src/lib.rs index 4818a6cd2..2152f688f 100644 --- a/crates/pi-natives/src/lib.rs +++ b/crates/pi-natives/src/lib.rs @@ -21,10 +21,6 @@ #![allow(clippy::trailing_empty_array, reason = "generated by napi macro")] #![allow(clippy::trivially_copy_pass_by_ref, reason = "napi env idiom")] -use mimalloc::MiMalloc; -#[global_allocator] -static GLOBAL: MiMalloc = MiMalloc; - pub mod appearance; pub mod ast; pub mod clipboard;