Files
continuwuity/src/core/alloc/mod.rs
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
377 B
Rust
Raw Normal View History

//! Integration with allocators
2024-04-27 04:50:20 -07:00
pub mod default;
#[cfg(feature = "jemalloc")]
2024-05-09 15:59:08 -07:00
pub mod je;
#[cfg(feature = "jemalloc")]
pub use je::{memory_stats, memory_usage, memory_usage_stats, trim};
2024-04-27 04:50:20 -07:00
#[cfg(all(feature = "mimalloc", not(feature = "jemalloc")))]
pub mod mimalloc;
#[cfg(not(feature = "jemalloc"))]
pub use default::{memory_stats, memory_usage, memory_usage_stats, trim};