From 60a0caf0514f725025dec4a3d08f6b086de00809 Mon Sep 17 00:00:00 2001 From: streamcode9 Date: Sun, 21 Sep 2025 21:45:36 +0200 Subject: [PATCH] Add main entry point to standalone wasm module --- wasm/hello.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wasm/hello.c b/wasm/hello.c index bd79652..2bcfc47 100644 --- a/wasm/hello.c +++ b/wasm/hello.c @@ -14,3 +14,8 @@ size_t get_greeting_length(void) { return sizeof(GREETING) - 1; } + +int main(void) +{ + return 0; +}