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

15
targets/c-host/linux.c Normal file
View File

@ -0,0 +1,15 @@
#include <stdio.h>
int wasm_module(void);
int main(int argc, char *argv[]) {
int result = wasm_module();
if (result == 100) {
printf("OK Marker\n");
return 0;
} else {
printf("FAIL Marker\n");
return 1;
}
}