| 1 |
(component |
| 2 |
(core type $start (;0;) (func (param i32))) |
| 3 |
(core module $libc (;0;) |
| 4 |
(table (;0;) 1 funcref) |
| 5 |
(export "start-table" (table 0)) |
| 6 |
) |
| 7 |
(core instance $libc (;0;) (instantiate $libc)) |
| 8 |
(alias core export $libc "start-table" (core table (;0;))) |
| 9 |
(core func $new_indirect (;0;) (canon thread.new_indirect $start (table 0))) |
| 10 |
(core module $m (;1;) |
| 11 |
(type $new_indirect_ty (;0;) (func (param i32 i32) (result i32))) |
| 12 |
(import "" "thread.new_indirect" (func (;0;) (type $new_indirect_ty))) |
| 13 |
) |
| 14 |
(core instance (;1;) |
| 15 |
(export "thread.new_indirect" (func $new_indirect)) |
| 16 |
) |
| 17 |
(core instance (;2;) (instantiate $m |
| 18 |
(with "" (instance 1)) |
| 19 |
) |
| 20 |
) |
| 21 |
) |