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 committed 2025-01-20 04:17:02 +00:00
1 parent 80832cb0bb
commit 7a8ca8842a
6 files changed
+144 -6

No files matched your search

+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 }