Skip to content

Commit d311035

Browse files
authored
Add main entry point to standalone wasm module (#17)
1 parent e243a37 commit d311035

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

wasm/hello.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ size_t get_greeting_length(void)
1414
{
1515
return sizeof(GREETING) - 1;
1616
}
17+
18+
int main(void)
19+
{
20+
return 0;
21+
}

0 commit comments

Comments
 (0)