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

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

13 lines
284 B
Rust
Raw Normal View History

2024-05-09 15:59:08 -07:00
//! Default allocator with no special features
/// Always returns Ok
pub fn trim() -> crate::Result { Ok(()) }
/// Always returns None
2024-05-09 15:59:08 -07:00
#[must_use]
pub fn memory_stats() -> Option<String> { None }
2024-05-09 15:59:08 -07:00
/// Always returns None
2024-05-09 15:59:08 -07:00
#[must_use]
pub fn memory_usage() -> Option<String> { None }