| 1 |
(component |
| 2 |
(core module (;0;) |
| 3 |
(type (;0;) (func)) |
| 4 |
(type (;1;) (func (param i32))) |
| 5 |
(type (;2;) (func (param i32 i32 i32 i32) (result i32))) |
| 6 |
(import "wasi:cli/[email protected]" "get-environment" (func $get-environment (;0;) (type 1))) |
| 7 |
(memory (;0;) 1) |
| 8 |
(export "cabi_realloc" (func $realloc)) |
| 9 |
(export "memory" (memory 0)) |
| 10 |
(start $start) |
| 11 |
(func $start (;1;) (type 0)) |
| 12 |
(func $realloc (;2;) (type 2) (param i32 i32 i32 i32) (result i32) |
| 13 |
unreachable |
| 14 |
) |
| 15 |
(@producers |
| 16 |
(processed-by "wit-component" "$CARGO_PKG_VERSION") |
| 17 |
(processed-by "my-fake-bindgen" "123.45") |
| 18 |
) |
| 19 |
) |
| 20 |
(core module (;1;) |
| 21 |
(type (;0;) (func (param i32))) |
| 22 |
(export "get-environment" (func $get-environment)) |
| 23 |
(func $get-environment (;0;) (type 0) (param i32) |
| 24 |
unreachable |
| 25 |
) |
| 26 |
) |
| 27 |
(core module (;2;) |
| 28 |
(type (;0;) (func (param i32))) |
| 29 |
(table (;0;) 1 1 funcref) |
| 30 |
(export "0" (func $adapt-wasi:cli/[email protected])) |
| 31 |
(export "$imports" (table 0)) |
| 32 |
(func $adapt-wasi:cli/[email protected] (;0;) (type 0) (param i32) |
| 33 |
local.get 0 |
| 34 |
i32.const 0 |
| 35 |
call_indirect (type 0) |
| 36 |
) |
| 37 |
(@producers |
| 38 |
(processed-by "wit-component" "$CARGO_PKG_VERSION") |
| 39 |
) |
| 40 |
) |
| 41 |
(core module (;3;) |
| 42 |
(type (;0;) (func (param i32))) |
| 43 |
(import "" "0" (func (;0;) (type 0))) |
| 44 |
(import "" "$imports" (table (;0;) 1 1 funcref)) |
| 45 |
(elem (;0;) (i32.const 0) func 0) |
| 46 |
(@producers |
| 47 |
(processed-by "wit-component" "$CARGO_PKG_VERSION") |
| 48 |
) |
| 49 |
) |
| 50 |
(core instance (;0;) (instantiate 2)) |
| 51 |
(alias core export 0 "0" (core func (;0;))) |
| 52 |
(core instance (;1;) |
| 53 |
(export "get-environment" (func 0)) |
| 54 |
) |
| 55 |
(core instance (;2;) (instantiate 0 |
| 56 |
(with "wasi:cli/[email protected]" (instance 1)) |
| 57 |
) |
| 58 |
) |
| 59 |
(alias core export 2 "memory" (core memory (;0;))) |
| 60 |
(core instance (;3;) (instantiate 1)) |
| 61 |
(alias core export 0 "$imports" (core table (;0;))) |
| 62 |
(alias core export 3 "get-environment" (core func (;1;))) |
| 63 |
(core instance (;4;) |
| 64 |
(export "$imports" (table 0)) |
| 65 |
(export "0" (func 1)) |
| 66 |
) |
| 67 |
(core instance (;5;) (instantiate 3 |
| 68 |
(with "" (instance 4)) |
| 69 |
) |
| 70 |
) |
| 71 |
(@producers |
| 72 |
(processed-by "wit-component" "$CARGO_PKG_VERSION") |
| 73 |
) |
| 74 |
) |