wasmi_c_api

Function wasmi_config_consume_fuel_set

source
#[no_mangle]
pub extern "C" fn wasmi_config_consume_fuel_set(
    config: &mut wasm_config_t,
    enable: bool,
)
Expand description

Enables or disables fuel consumption for the config.

Wraps wasmi::Config::consume_fuel