add simple host program that loads a wasm module using the wamr runtime

This commit is contained in:
2026-01-25 19:46:32 +01:00
parent 32a9ab4cc1
commit 6b349d3278
2 changed files with 95 additions and 0 deletions

View File

@ -7,6 +7,7 @@ int main(int argc, char **argv) {
char *buf;
printf("Hello world!\n");
printf("Got %d args!\n", argc);
buf = malloc(1024);
if (!buf) {