diff --git a/Cargo.lock b/Cargo.lock index 71811703..5320c4c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1542,12 +1542,6 @@ dependencies = [ "winapi 0.3.8", ] -[[package]] -name = "fs_extra" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f2a4a2034423744d2cc7ca2068453168dcdb82c438419e639a26bd87839c674" - [[package]] name = "fuchsia-cprng" version = "0.1.1" @@ -2352,27 +2346,6 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6" -[[package]] -name = "jemalloc-sys" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d3b9f3f5c9b31aa0f5ed3260385ac205db665baa41d49bb8338008ae94ede45" -dependencies = [ - "cc", - "fs_extra", - "libc", -] - -[[package]] -name = "jemallocator" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43ae63fcfc45e99ab3d1b29a46782ad679e98436c3169d15a167a1108a724b69" -dependencies = [ - "jemalloc-sys", - "libc", -] - [[package]] name = "jobserver" version = "0.1.21" @@ -7874,7 +7847,6 @@ dependencies = [ "hashbrown 0.8.0", "hex", "itertools 0.9.0", - "jemallocator", "jsonrpsee", "kvdb", "kvdb-rocksdb", diff --git a/archive/Cargo.toml b/archive/Cargo.toml index 77105e22..6ff8970e 100644 --- a/archive/Cargo.toml +++ b/archive/Cargo.toml @@ -64,9 +64,6 @@ frame-system = { git = "https://github.com/paritytech/substrate", branch = "mast sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-trie" } sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-state-machine" } -[target.'cfg(not(target_env = "msvc"))'.dependencies] -jemallocator = "0.3.2" - [dev-dependencies] # desub-extras = { path = "../desub/extras/", package="desub-extras", features = ["polkadot"] } polkadot-service = { package = "polkadot-service", git = "https://github.com/paritytech/polkadot", branch = "master" } diff --git a/archive/src/lib.rs b/archive/src/lib.rs index 117850fd..c39b2f5d 100644 --- a/archive/src/lib.rs +++ b/archive/src/lib.rs @@ -17,13 +17,6 @@ // #![allow(warnings)] #![forbid(unsafe_code)] -#[cfg(not(target_env = "msvc"))] -use jemallocator::Jemalloc; - -#[cfg(not(target_env = "msvc"))] -#[global_allocator] -static GLOBAL: Jemalloc = Jemalloc; - mod actors; pub mod archive; pub mod backend;