Function wasmer_emscripten::allocate_cstr_on_stack
source · pub unsafe fn allocate_cstr_on_stack<'a>(
ctx: &'a mut FunctionEnvMut<'a, EmEnv>,
s: &str
) -> (u32, &'a [u8])
Expand description
Safety
This method is unsafe because it uses allocate_on_stack
which is unsafe