#[unsafe(no_mangle)]pub fn alloc(len: i32) -> i32Expand description
Allocate memory into the wasm linear memory and return the offset to the start of the block.
ยงSafety
This function is unsafe because it dereferences the pointer. There is no way to make this function unsafe.