Skip to content

Commit

Permalink
fix(anvil): remove jemalloc (#5759)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evalir authored Aug 31, 2023
1 parent 8515d4a commit 2f4a77e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions crates/anvil/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ fdlimit = { version = "0.2", optional = true }
clap_complete_fig = "4"
ethereum-forkid = "0.12"

[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = { workspace = true, optional = true }

[dev-dependencies]
ethers = { workspace = true, features = ["abigen"] }
ethers-solc = { workspace = true, features = ["project-util", "full"] }
Expand All @@ -81,7 +78,6 @@ tokio = { version = "1", features = ["full"] }
crc = "3.0.1"

[features]
default = ["cli", "jemalloc"]
jemalloc = ["dep:tikv-jemallocator"]
default = ["cli"]
cmd = ["clap", "clap_complete", "ctrlc", "anvil-server/clap"]
cli = ["tokio/full", "cmd", "fdlimit"]
4 changes: 0 additions & 4 deletions crates/anvil/src/anvil.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
use anvil::cmd::NodeArgs;
use clap::{CommandFactory, Parser, Subcommand};

#[cfg(not(target_env = "msvc"))]
#[global_allocator]
static ALLOC: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;

/// A fast local Ethereum development node.
#[derive(Debug, Parser)]
#[clap(name = "anvil", version = anvil::VERSION_MESSAGE, next_display_order = None)]
Expand Down

0 comments on commit 2f4a77e

Please sign in to comment.