Skip to content

Commit 017f8d8

Browse files
authored
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).
1 parent 9185195 commit 017f8d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

polkadot/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ default-run = "polkadot"
2323

2424
[dependencies]
2525
color-eyre = { version = "0.6.1", default-features = false }
26-
tikv-jemallocator = { version = "0.5.0", optional = true }
26+
tikv-jemallocator = { version = "0.5.0", optional = true, features = [ "unprefixed_malloc_on_supported_platforms" ] }
2727

2828
# Crates in our workspace, defined as dependencies so we can pass them feature flags.
2929
polkadot-cli = { path = "cli", features = [ "westend-native", "rococo-native" ] }
@@ -36,7 +36,7 @@ polkadot-node-core-pvf-common = { path = "node/core/pvf/common" }
3636
polkadot-node-core-pvf-execute-worker = { path = "node/core/pvf/execute-worker" }
3737

3838
[target.'cfg(target_os = "linux")'.dependencies]
39-
tikv-jemallocator = "0.5.0"
39+
tikv-jemallocator = { version = "0.5.0", features = [ "unprefixed_malloc_on_supported_platforms" ] }
4040

4141
[dev-dependencies]
4242
assert_cmd = "2.0.4"

0 commit comments

Comments
 (0)