Files
Pat Hickey 1c335c1b29 use released WASI Preview 2 (version 0.2.0) wits (#7817)
* WASI: copy in the version 0.2.0 wits

* wasmtime's wits: use versions 0.2.0 of wasi packages

* bindgens and other fixed version strings: change 0.2.0-rc-etc to 0.2.0
2024-01-25 17:43:57 +00:00

13 lines
287 B
WebAssembly Text Format

(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/run@0.2.0"))
(export "run" (func $run)))
)