add jemallctl base; add trim to interface w/ console cmd

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-01-16 08:58:40 +00:00
parent 80832cb0bb
commit 7a8ca8842a
6 changed files with 144 additions and 6 deletions
+3
View File
@@ -1,5 +1,8 @@
//! Default allocator with no special features
/// Always returns Ok
pub fn trim() -> crate::Result { Ok(()) }
/// Always returns None
#[must_use]
pub fn memory_stats() -> Option<String> { None }