Skip to main content

set_debug_memory_settings

Function set_debug_memory_settings 

Source
pub fn set_debug_memory_settings(
    allocator: &mut Allocator<'_>,
    settings: DebugMemorySettings,
) -> Result<(), AllocError>
Expand description

Configure debug instrumentation before native allocations or pools exist.

ยงErrors

Rejects live domains, non-four-byte guard margins or missing required map PFNs.