Skip to content

Commit 2f4a77e

Browse files
authored
fix(anvil): remove jemalloc (#5759)
1 parent 8515d4a commit 2f4a77e

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/anvil/Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ fdlimit = { version = "0.2", optional = true }
7070
clap_complete_fig = "4"
7171
ethereum-forkid = "0.12"
7272

73-
[target.'cfg(not(target_env = "msvc"))'.dependencies]
74-
tikv-jemallocator = { workspace = true, optional = true }
75-
7673
[dev-dependencies]
7774
ethers = { workspace = true, features = ["abigen"] }
7875
ethers-solc = { workspace = true, features = ["project-util", "full"] }
@@ -81,7 +78,6 @@ tokio = { version = "1", features = ["full"] }
8178
crc = "3.0.1"
8279

8380
[features]
84-
default = ["cli", "jemalloc"]
85-
jemalloc = ["dep:tikv-jemallocator"]
81+
default = ["cli"]
8682
cmd = ["clap", "clap_complete", "ctrlc", "anvil-server/clap"]
8783
cli = ["tokio/full", "cmd", "fdlimit"]

crates/anvil/src/anvil.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
use anvil::cmd::NodeArgs;
33
use clap::{CommandFactory, Parser, Subcommand};
44

5-
#[cfg(not(target_env = "msvc"))]
6-
#[global_allocator]
7-
static ALLOC: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
8-
95
/// A fast local Ethereum development node.
106
#[derive(Debug, Parser)]
117
#[clap(name = "anvil", version = anvil::VERSION_MESSAGE, next_display_order = None)]

0 commit comments

Comments
 (0)