pub unsafe extern "C" fn WasmEdge_CompilerCompile(
    Cxt: *mut WasmEdge_CompilerContext,
    InPath: *const c_char,
    OutPath: *const c_char
) -> WasmEdge_Result
Expand description

Compile the input WASM from the file path.

The compiler compiles the WASM from file path for the ahead-of-time mode and store the result to the output file path.

\param Cxt the WasmEdge_CompilerContext. \param InPath the input WASM file path. \param OutPath the output WASM file path.

\returns WasmEdge_Result. Call WasmEdge_ResultGetMessage for the error message.