Skip to main content

init_memory

Function init_memory 

Source
pub fn init_memory(mem: &mut [u8], layout: &MemoryLayout)
Expand description

Initialize the linear memory header for a layout. Call once at startup before creating a Guest or Host.