chore(deps): refresh hotpath allocator support (#5660)

Co-authored-by: heihutu <heihutu@gmail.com>
This commit is contained in:
houseme
2026-08-03 14:52:44 +08:00
committed by GitHub
parent a8574d0104
commit 371a3529e5
3 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ unsafe impl GlobalAlloc for MiMallocAllocator {
#[cfg(all(feature = "hotpath", feature = "hotpath-alloc"))]
#[global_allocator]
static GLOBAL: hotpath::CountingAllocator<MiMallocAllocator> = hotpath::CountingAllocator::new();
static GLOBAL: hotpath::CountingAllocator<MiMallocAllocator> = hotpath::CountingAllocator::with(MiMallocAllocator);
#[cfg(not(all(feature = "hotpath", feature = "hotpath-alloc")))]
#[global_allocator]