diff --git a/Cargo.lock b/Cargo.lock index 7644bb7..513617b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4350,26 +4350,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "tikv-jemalloc-sys" -version = "0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd8aa5b2ab86a2cefa406d889139c162cbb230092f7d1d7cbc1716405d852a3b" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "tikv-jemallocator" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0359b4327f954e0567e69fb191cf1436617748813819c94b8cd4a431422d053a" -dependencies = [ - "libc", - "tikv-jemalloc-sys", -] - [[package]] name = "time" version = "0.3.44" @@ -5616,7 +5596,6 @@ dependencies = [ "ratatui", "scopeguard", "signal-hook-tokio", - "tikv-jemallocator", "tokio", "tokio-stream", "tracing", diff --git a/yazi-fm/Cargo.toml b/yazi-fm/Cargo.toml index 914c684..09c9425 100644 --- a/yazi-fm/Cargo.toml +++ b/yazi-fm/Cargo.toml @@ -69,9 +69,6 @@ signal-hook-tokio = { version = "0.4.0", features = [ "futures-v0_3" ] } [target.'cfg(target_os = "macos")'.dependencies] crossterm = { workspace = true, features = [ "use-dev-tty", "libc" ] } -[target.'cfg(all(not(target_os = "macos"), not(target_os = "windows")))'.dependencies] -tikv-jemallocator = "0.6.1" - [[bin]] name = "yazi" path = "src/main.rs" diff --git a/yazi-fm/src/main.rs b/yazi-fm/src/main.rs index 6f7f015..fffdfce 100644 --- a/yazi-fm/src/main.rs +++ b/yazi-fm/src/main.rs @@ -1,7 +1,3 @@ -#[cfg(all(not(target_os = "macos"), not(target_os = "windows")))] -#[global_allocator] -static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc; - yazi_macro::mod_pub!(app cmp confirm help input mgr notify pick spot tasks which); yazi_macro::mod_flat!(dispatcher executor logs panic root router signals term);