mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-23 13:41:32 +00:00
Update Emscripten API layout; expose inner parts to to C API; add test
This commit is contained in:
10
lib/runtime-c-api/tests/assets/emscripten_hello_world.c
Normal file
10
lib/runtime-c-api/tests/assets/emscripten_hello_world.c
Normal file
@ -0,0 +1,10 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
printf("Hello, world\n");
|
||||
for ( int i = 0; i < argc; ++i ) {
|
||||
printf("Arg %d: '%s'\n", i, argv[i]);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user