#[no_mangle]
pub unsafe extern "C" fn wasm_module_validate(
store: &mut wasm_store_t,
binary: &wasm_byte_vec_t,
) -> bool
Expand description
Returns true
if the Wasm binary
successfully validates.
Wraps Module::validate
.
§Safety
It is the caller’s responsibility not to alias the wasm_module_t
with its underlying, internal WasmStoreRef
.