| 1 |
(component |
| 2 |
(core module (;0;) |
| 3 |
(type (;0;) (func)) |
| 4 |
(import "old" "thunk" (func (;0;) (type 0))) |
| 5 |
(@producers |
| 6 |
(processed-by "wit-component" "$CARGO_PKG_VERSION") |
| 7 |
(processed-by "my-fake-bindgen" "123.45") |
| 8 |
) |
| 9 |
) |
| 10 |
(core module (;1;) |
| 11 |
(type (;0;) (func)) |
| 12 |
(export "thunk" (func 0)) |
| 13 |
(func (;0;) (type 0)) |
| 14 |
) |
| 15 |
(core module (;2;) |
| 16 |
(type (;0;) (func)) |
| 17 |
(table (;0;) 1 1 funcref) |
| 18 |
(export "0" (func $adapt-old-thunk)) |
| 19 |
(export "$imports" (table 0)) |
| 20 |
(func $adapt-old-thunk (;0;) (type 0) |
| 21 |
i32.const 0 |
| 22 |
call_indirect (type 0) |
| 23 |
) |
| 24 |
(@producers |
| 25 |
(processed-by "wit-component" "$CARGO_PKG_VERSION") |
| 26 |
) |
| 27 |
) |
| 28 |
(core module (;3;) |
| 29 |
(type (;0;) (func)) |
| 30 |
(import "" "0" (func (;0;) (type 0))) |
| 31 |
(import "" "$imports" (table (;0;) 1 1 funcref)) |
| 32 |
(elem (;0;) (i32.const 0) func 0) |
| 33 |
(@producers |
| 34 |
(processed-by "wit-component" "$CARGO_PKG_VERSION") |
| 35 |
) |
| 36 |
) |
| 37 |
(core instance (;0;) (instantiate 2)) |
| 38 |
(alias core export 0 "0" (core func (;0;))) |
| 39 |
(core instance (;1;) |
| 40 |
(export "thunk" (func 0)) |
| 41 |
) |
| 42 |
(core instance (;2;) (instantiate 0 |
| 43 |
(with "old" (instance 1)) |
| 44 |
) |
| 45 |
) |
| 46 |
(core instance (;3;) (instantiate 1)) |
| 47 |
(alias core export 0 "$imports" (core table (;0;))) |
| 48 |
(alias core export 3 "thunk" (core func (;1;))) |
| 49 |
(core instance (;4;) |
| 50 |
(export "$imports" (table 0)) |
| 51 |
(export "0" (func 1)) |
| 52 |
) |
| 53 |
(core instance (;5;) (instantiate 3 |
| 54 |
(with "" (instance 4)) |
| 55 |
) |
| 56 |
) |
| 57 |
(@producers |
| 58 |
(processed-by "wit-component" "$CARGO_PKG_VERSION") |
| 59 |
) |
| 60 |
) |