Path: blob/main/tests/all/cli_tests/component-basic.wat
3068 views
(component
(core module $m
(func (export "run") (result i32)
i32.const 0)
)
(core instance $i (instantiate $m))
(func $run (result (result))
(canon lift (core func $i "run")))
(instance (export (interface "wasi:cli/[email protected]"))
(export "run" (func $run)))
)