chore(pi-natives): removed mimalloc allocator integration from pi-natives

- Removed mimalloc from workspace and crate Cargo.toml dependency lists.
- Eliminated the global `MiMalloc` allocator registration from `pi-natives`.
- Updated Cargo.lock by deleting stale `mimalloc` and `libmimalloc-sys` package entries.
This commit is contained in:
can1357
2026-05-15 09:47:23 +02:00
parent cf1e75cdc6
commit f13b4458b9
4 changed files with 0 additions and 25 deletions
Generated
-19
View File
@@ -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",
-1
View File
@@ -224,7 +224,6 @@ xxhash-rust = { version = "0.8", features = ["xxh64"] }
# Memory Management & Allocators
# ──────────────────────────────────────────────────────────────────────────────
memmap2 = "0.9"
mimalloc = "0.1"
# ──────────────────────────────────────────────────────────────────────────────
# System & Platform
-1
View File
@@ -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
-4
View File
@@ -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;