mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 20:56:49 +00:00
improve debug memory-stats options
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
8141ca3444
commit
f9e76d6239
5 files changed
+35
-23
No files matched your search
@@ -7,9 +7,9 @@ pub fn trim() -> crate::Result { Ok(()) }
|
||||
|
||||
#[must_use]
|
||||
//TODO: get usage
|
||||
pub fn memory_usage() -> Option<string> { None }
|
||||
pub fn memory_usage() -> Option<String> { None }
|
||||
|
||||
#[must_use]
|
||||
pub fn memory_stats() -> Option<String> {
|
||||
pub fn memory_stats(_opts: &str) -> Option<String> {
|
||||
Some("Extended statistics are not available from hardened_malloc.".to_owned())
|
||||
}
|
||||
Reference in new issue
Block a user