mirror of
https://github.com/LukeHagar/wasm-overhead-research.git
synced 2025-12-06 04:22:06 +00:00
12 lines
195 B
C
12 lines
195 B
C
#include <stdio.h>
|
|
|
|
int main() {
|
|
printf("Hello from WASI!\n");
|
|
return 0;
|
|
}
|
|
|
|
__attribute__((export_name("hello")))
|
|
int hello() {
|
|
printf("Hello from WASI function!\n");
|
|
return 42;
|
|
} |