mirror of
https://github.com/encounter/wasmtime.git
synced 2026-03-30 11:42:15 -07:00
1c335c1b29
* 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
13 lines
287 B
WebAssembly Text Format
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)))
|
|
)
|