land/userland/src/lib/hello.wast

10 lines
241 B
Plaintext
Raw Normal View History

2018-06-08 00:07:40 +00:00
(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)))