crates/wasm-compose/tests/compositions/not-instance-import/composed.wat
raw| 1 | (component |
| 2 | (type (;0;) (func)) |
| 3 | (import "a" (func (;0;) (type 0))) |
| 4 | (component (;0;) |
| 5 | (type (;0;) (func)) |
| 6 | (import "a" (func (;0;) (type 0))) |
| 7 | (type (;1;) |
| 8 | (instance) |
| 9 | ) |
| 10 | (import "locked-dep=<foo:[email protected]>" (instance (;0;) (type 1))) |
| 11 | ) |
| 12 | (component (;1;) |
| 13 | (instance (;0;)) |
| 14 | ) |
| 15 | (instance (;0;) (instantiate 1)) |
| 16 | (instance (;1;) (instantiate 0 |
| 17 | (with "locked-dep=<foo:[email protected]>" (instance 0)) |
| 18 | (with "a" (func 0)) |
| 19 | ) |
| 20 | ) |
| 21 | ) |