| 1070 | } |
| 1071 | |
| 1072 | WASMEDGE_CAPI_EXPORT enum WasmEdge_CompilerOutputFormat |
| 1073 | WasmEdge_ConfigureCompilerGetOutputFormat( |
| 1074 | const WasmEdge_ConfigureContext *Cxt) noexcept { |
| 1075 | if (Cxt) { |
| 1076 | return static_cast<WasmEdge_CompilerOutputFormat>( |
| 1077 | Cxt->Conf.getCompilerConfigure().getOutputFormat()); |
| 1078 | } |
| 1079 | return WasmEdge_CompilerOutputFormat_Wasm; |
| 1080 | } |
| 1081 | |
| 1082 | WASMEDGE_CAPI_EXPORT void |
| 1083 | WasmEdge_ConfigureCompilerSetDumpIR(WasmEdge_ConfigureContext *Cxt, |