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