ledger-tool uses jemalloc like validator (#21351)
This commit is contained in:
committed by
GitHub
parent
79d21d6805
commit
b1b334a17f
@@ -833,6 +833,12 @@ fn assert_capitalization(bank: &Bank) {
|
||||
let debug_verify = true;
|
||||
assert!(bank.calculate_and_verify_capitalization(debug_verify));
|
||||
}
|
||||
#[cfg(not(target_env = "msvc"))]
|
||||
use jemallocator::Jemalloc;
|
||||
|
||||
#[cfg(not(target_env = "msvc"))]
|
||||
#[global_allocator]
|
||||
static GLOBAL: Jemalloc = Jemalloc;
|
||||
|
||||
#[allow(clippy::cognitive_complexity)]
|
||||
fn main() {
|
||||
|
Reference in New Issue
Block a user