Skip to main content

WasmEdge_ConfigureSetForceInterpreter

Function WasmEdge_ConfigureSetForceInterpreter 

Source
pub unsafe extern "C" fn WasmEdge_ConfigureSetForceInterpreter(
    Cxt: *mut WasmEdge_ConfigureContext,
    IsForceInterpreter: bool,
)
Expand description

Set the force interpreter mode execution option.

CAUTION: This function will be deprecated and replaced by WasmEdge_ConfigureSetRunMode() API in the future. Use WasmEdge_ConfigureSetRunMode(Cxt, WasmEdge_RunMode_Interpreter) instead.

This function is thread-safe.

\param Cxt the WasmEdge_ConfigureContext to set the boolean value. \param IsForceInterpreter the boolean value to determine to forcibly run WASM in interpreter mode or not. Passing false is a no-op.