tests/snapshots/cli/component-model-async/futures.wast/0.print
raw| 1 | (component |
| 2 | (core module $m (;0;) |
| 3 | (type (;0;) (func (result i64))) |
| 4 | (import "" "future.new" (func $future-new (;0;) (type 0))) |
| 5 | ) |
| 6 | (type $future-type (;0;) (future u8)) |
| 7 | (core func $future-new (;0;) (canon future.new $future-type)) |
| 8 | (core instance (;0;) |
| 9 | (export "future.new" (func $future-new)) |
| 10 | ) |
| 11 | (core instance $i (;1;) (instantiate $m |
| 12 | (with "" (instance 0)) |
| 13 | ) |
| 14 | ) |
| 15 | ) |