mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-06-27 00:56:36 +02:00
8 lines
307 B
Rust
8 lines
307 B
Rust
#[global_allocator]
|
|
static HMALLOC: hardened_malloc_rs::HardenedMalloc = hardened_malloc_rs::HardenedMalloc;
|
|
|
|
pub(crate) fn memory_usage() -> String {
|
|
String::default() //TODO: get usage
|
|
}
|
|
|
|
pub(crate) fn memory_stats() -> String { "Extended statistics are not available from hardened_malloc.".to_owned() }
|