wasmedge_sys::ffi

Function WasmEdge_ConfigureCompilerSetOptimizationLevel

Source
pub unsafe extern "C" fn WasmEdge_ConfigureCompilerSetOptimizationLevel(
    Cxt: *mut WasmEdge_ConfigureContext,
    Level: WasmEdge_CompilerOptimizationLevel,
)
Expand description

Set the optimization level of the AOT compiler.

This function is thread-safe.

\param Cxt the WasmEdge_ConfigureContext to set the optimization level. \param Level the AOT compiler optimization level.