diff --git a/userland/src/lib/hello.wast b/userland/src/lib/hello.wast new file mode 100644 index 0000000..72466f5 --- /dev/null +++ b/userland/src/lib/hello.wast @@ -0,0 +1,9 @@ +(module + (func $log (import "env" "log") (param i32 i32) (result i32)) + (memory $mem 1) + (data (i32.const 200) "Hello") + (func $main (result i32) + (i32.const 200) + (i32.const 5) + (call $log)) + (export "main" (func $main)))