wasi:cli/run
This commit is contained in:
@@ -14,9 +14,10 @@
|
||||
|
||||
(data (i32.const 16) "hello worms\n")
|
||||
|
||||
(func $hello (export "hello")
|
||||
(func (export "wasi:cli/run@0.2.6#run") (result i32)
|
||||
(call $print
|
||||
(call $get-stdout)
|
||||
(i32.const 16) ;; offset to print
|
||||
(i32.const 12) ;; length to print
|
||||
(i32.const 32)))) ;; offset for result
|
||||
(i32.const 32)) ;; offset for result
|
||||
(i32.const 0)))
|
||||
|
||||
Reference in New Issue
Block a user