mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 19:11:04 +00:00
Companion for paritytech/substrate#12795 (#6374)
* Begin removing `parity-util-mem`; remove `collect_memory_stats`
* Update some dependencies that were using `parity-util-mem`
* Remove `trie-memory-tracker` feature
* Update Cargo.lock
* Update `kvdb-shared-tests`
* Add back jemalloc
* Add missing license header
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
Co-authored-by: Andronik <write@reusable.software>
This commit is contained in:
@@ -20,6 +20,11 @@
|
||||
|
||||
use color_eyre::eyre;
|
||||
|
||||
/// Global allocator. Changing it to another allocator will require changing
|
||||
/// `memory_stats::MemoryAllocationTracker`.
|
||||
#[global_allocator]
|
||||
pub static ALLOC: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
|
||||
|
||||
fn main() -> eyre::Result<()> {
|
||||
color_eyre::install()?;
|
||||
polkadot_cli::run()?;
|
||||
|
||||
Reference in New Issue
Block a user