wamr_sys

Function wasm_runtime_set_bounds_checks

Source
pub unsafe extern "C" fn wasm_runtime_set_bounds_checks(
    module_inst: wasm_module_inst_t,
    enable: bool,
)
Expand description

Set the memory bounds checks flag of a WASM module instance.

@param module_inst the WASM module instance @param enable the flag to enable/disable the memory bounds checks