mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: include jemalloc-ctl only in node-core (#6199)
This commit is contained in:
@ -91,6 +91,10 @@ secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recov
|
||||
# async
|
||||
futures.workspace = true
|
||||
|
||||
[target.'cfg(not(windows))'.dependencies]
|
||||
jemallocator = { version = "0.5.0", optional = true }
|
||||
jemalloc-ctl = { version = "0.5.0", optional = true }
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
procfs = { version = "0.16.0" }
|
||||
|
||||
@ -124,5 +128,7 @@ optimism = [
|
||||
"reth-node-api/optimism",
|
||||
]
|
||||
|
||||
jemalloc = ["dep:jemallocator", "dep:jemalloc-ctl"]
|
||||
|
||||
[build-dependencies]
|
||||
vergen = { version = "8.0.0", features = ["build", "cargo", "git", "git2"] }
|
||||
|
||||
Reference in New Issue
Block a user