wasmer_wasix::syscalls::wasix::closure_prepare

Function build_closure_wasm_bytes

Source
fn build_closure_wasm_bytes(
    module_name: &str,
    closure: u32,
    backing_function: u32,
    environment_offset: u64,
    argument_types: &[ValType],
    result_types: &[ValType],
) -> Vec<u8> 
Expand description

Build a dynamically linkable WASM module for the given closure.