mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 21:11:07 +00:00
polkadot: enable tikv-jemallocator/unprefixed_malloc_on_supported_platforms (#2002)
This is indirectly enabled by rocksdb crate, better to make it explicit (https://github.com/tikv/rust-rocksdb/blob/2096b9a161f93e437f7adee49e68cd1570aea42f/librocksdb_sys/Cargo.toml#L35-L38).
This commit is contained in:
+2
-2
@@ -23,7 +23,7 @@ default-run = "polkadot"
|
||||
|
||||
[dependencies]
|
||||
color-eyre = { version = "0.6.1", default-features = false }
|
||||
tikv-jemallocator = { version = "0.5.0", optional = true }
|
||||
tikv-jemallocator = { version = "0.5.0", optional = true, features = [ "unprefixed_malloc_on_supported_platforms" ] }
|
||||
|
||||
# Crates in our workspace, defined as dependencies so we can pass them feature flags.
|
||||
polkadot-cli = { path = "cli", features = [ "westend-native", "rococo-native" ] }
|
||||
@@ -36,7 +36,7 @@ polkadot-node-core-pvf-common = { path = "node/core/pvf/common" }
|
||||
polkadot-node-core-pvf-execute-worker = { path = "node/core/pvf/execute-worker" }
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
tikv-jemallocator = "0.5.0"
|
||||
tikv-jemallocator = { version = "0.5.0", features = [ "unprefixed_malloc_on_supported_platforms" ] }
|
||||
|
||||
[dev-dependencies]
|
||||
assert_cmd = "2.0.4"
|
||||
|
||||
Reference in New Issue
Block a user