Fix polkadot-node-core-pvf-prepare-worker build with jemalloc (#1315)

* Fix polkadot-node-core-pvf-prepare-worker build with jemalloc

The jemalloc feature on polkadot-node-core-pvf-prepare-worker depended
on some feature gated code in polkadot-node-core-pvf-common but there
way no way to enable this feature gate.

This commit adds the feature and makes prepare-worker enable it.

* More jemalloc-allocator fixes

* Fix jemalloc-allocator feature dep

* Run `zepter format features`

---------

Co-authored-by: Marcin S <marcin@realemail.net>
This commit is contained in:
Lulu
2023-08-31 17:13:09 +02:00
committed by GitHub
parent f1f793718a
commit aedd280874
6 changed files with 12 additions and 7 deletions
@@ -32,4 +32,7 @@ tikv-jemalloc-ctl = "0.5.0"
[features]
builder = []
jemalloc-allocator = [ "dep:tikv-jemalloc-ctl" ]
jemalloc-allocator = [
"dep:tikv-jemalloc-ctl",
"polkadot-node-core-pvf-common/jemalloc-allocator",
]