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