wasm_module_share

Function wasm_module_share 

Source
#[unsafe(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).