Fix lib.h falling back to TARGET_LINUX during wasm_module and c module compilation

This commit is contained in:
2026-07-26 13:31:13 +02:00
parent 822b59d70e
commit 9baf6605ed
18 changed files with 62 additions and 36 deletions
@@ -16,8 +16,10 @@ EXPORT("wasm_module") int wasm_module(void) {
int ret = countnegative_return();
if (ret == 0) {
PRINT("result correct.\n");
fail_marker_positive();
} else {
PRINT("result incorrect.\n");
fail_marker_negative();
}
return ret;