Function wasm_module_serialize

Source
#[unsafe(no_mangle)]
pub extern "C" fn wasm_module_serialize(
    _module: &wasm_module_t,
    _ret: &mut wasm_byte_vec_t,
)
Expand description

Serializes the wasm_module_t into a binary.

The returned serialized binary can be deserialized using wasm_module_deserialize.

ยงNote

This API is unsupported and will panic upon use.