wasmi_c_api

Function wasm_module_share

source
#[no_mangle]
pub extern "C" fn wasm_module_share(
    module: &wasm_module_t,
) -> Box<wasm_shared_module_t>
Expand description

Shares the module and returns a shared image as wasm_shared_module_t.

Wraps Module::clone (kinda).