add a c-only target (no WASM)

This commit is contained in:
2026-03-13 00:22:03 +01:00
parent 0f847d7d2d
commit 129ba0e0b6
5 changed files with 206 additions and 51 deletions

17
targets/c-host/fail.c Normal file
View File

@ -0,0 +1,17 @@
#include "lib.h"
int wasm_module(void);
MAIN() {
int result;
MARKER(start_trace);
result = wasm_module();
MARKER(stop_trace);
if (result == 100) {
MARKER(ok_marker);
} else {
MARKER(fail_marker);
}
}