wasmedge_sys::ffi

Function WasmEdge_ConfigureCompilerGetOptimizationLevel

Source
pub unsafe extern "C" fn WasmEdge_ConfigureCompilerGetOptimizationLevel(
    Cxt: *const WasmEdge_ConfigureContext,
) -> WasmEdge_CompilerOptimizationLevel
Expand description

Get the optimization level of the AOT compiler.

This function is thread-safe.

\param Cxt the WasmEdge_ConfigureContext to get the optimization level.

\returns the AOT compiler optimization level.