wamr_sys

Function wasm_runtime_set_default_running_mode

Source
pub unsafe extern "C" fn wasm_runtime_set_default_running_mode(
    running_mode: RunningMode,
) -> bool
Expand description

Set the default running mode for the runtime. It is inherited to set the running mode of a module instance when it is instantiated, and can be changed by calling wasm_runtime_set_running_mode

@param running_mode the running mode to set

@return true if success, false otherwise