add a c-only target (no WASM)
This commit is contained in:
15
targets/c-host/linux.c
Normal file
15
targets/c-host/linux.c
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user