pub unsafe extern "C" fn WasmEdge_CompilerCompileFromBytes(
Cxt: *mut WasmEdge_CompilerContext,
Bytes: WasmEdge_Bytes,
OutPath: *const c_char,
) -> WasmEdge_Result
Expand description
Compile the input WASM from a WasmEdge_Bytes.
The compiler compiles the WASM from the WasmEdge_Bytes for the ahead-of-time mode and store the result to the output file path.
\param Cxt the WasmEdge_CompilerContext. \param Bytes the WasmEdge_Bytes of WASM binary. \param OutPath the output WASM file path.
\returns WasmEdge_Result. Call WasmEdge_ResultGetMessage
for the error
message.