v0.9.1
Pre-release
Pre-release
Fixes allocation tracking reporting zero bytes when the user's global allocator is behind a #[cfg(...)] gate -- a common pattern with tikv-jemallocator and mimalloc.
Fixed
- Allocation tracking no longer reports zero when the user's
#[global_allocator]is behind a#[cfg(...)]gate (#231)- Detection moved from string matching to syn AST walk
- Cfg-gated allocators get a
#[cfg(not(...))]fallback so every platform tracks allocations - Common pattern:
#[cfg(target_os = "linux")] #[global_allocator]with tikv-jemallocator or mimalloc