(component (type (;0;) (instance (type (;0;) (func (result string))) (export (;0;) "a" (func (type 0))) ) ) (import "foo" (instance (;0;) (type 0))) (core module (;0;) (type (;0;) (func (param i32))) (type (;1;) (func (param i32 i32 i32 i32) (result i32))) (type (;2;) (func (param i32 i32) (result i32))) (type (;3;) (func)) (type (;4;) (func (result i32))) (import "foo" "a" (func (;0;) (type 0))) (memory (;0;) 1) (export "memory" (memory 0)) (export "cabi_realloc" (func 1)) (export "a" (func 2)) (export "cabi_post_a" (func 3)) (export "bar#a" (func 4)) (export "bar#b" (func 5)) (export "cabi_post_bar#b" (func 6)) (func (;1;) (type 1) (param i32 i32 i32 i32) (result i32) unreachable ) (func (;2;) (type 2) (param i32 i32) (result i32) unreachable ) (func (;3;) (type 0) (param i32) unreachable ) (func (;4;) (type 3) unreachable ) (func (;5;) (type 4) (result i32) unreachable ) (func (;6;) (type 0) (param 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))) (table (;0;) 1 1 funcref) (export "0" (func $indirect-foo-a)) (export "$imports" (table 0)) (func $indirect-foo-a (;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 (;2;) (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 1)) (alias core export 0 "0" (core func (;0;))) (core instance (;1;) (export "a" (func 0)) ) (core instance (;2;) (instantiate 0 (with "foo" (instance 1)) ) ) (alias core export 2 "memory" (core memory (;0;))) (alias core export 0 "$imports" (core table (;0;))) (alias export 0 "a" (func (;0;))) (alias core export 2 "cabi_realloc" (core func (;1;))) (core func (;2;) (canon lower (func 0) (memory 0) (realloc 1) string-encoding=utf8)) (core instance (;3;) (export "$imports" (table 0)) (export "0" (func 2)) ) (core instance (;4;) (instantiate 2 (with "" (instance 3)) ) ) (type (;1;) (tuple string u32 string)) (type (;2;) (func (param "x" string) (result 1))) (alias core export 2 "a" (core func (;3;))) (alias core export 2 "cabi_post_a" (core func (;4;))) (func (;1;) (type 2) (canon lift (core func 3) (memory 0) (realloc 1) string-encoding=utf8 (post-return 4))) (export (;2;) "a" (func 1)) (type (;3;) (func)) (alias core export 2 "bar#a" (core func (;5;))) (func (;3;) (type 3) (canon lift (core func 5))) (type (;4;) (func (result string))) (alias core export 2 "bar#b" (core func (;6;))) (alias core export 2 "cabi_post_bar#b" (core func (;7;))) (func (;4;) (type 4) (canon lift (core func 6) (memory 0) string-encoding=utf8 (post-return 7))) (component (;0;) (type (;0;) (func)) (import "import-func-a" (func (;0;) (type 0))) (type (;1;) (func (result string))) (import "import-func-b" (func (;1;) (type 1))) (type (;2;) (func)) (export (;2;) "a" (func 0) (func (type 2))) (type (;3;) (func (result string))) (export (;3;) "b" (func 1) (func (type 3))) ) (instance (;1;) (instantiate 0 (with "import-func-a" (func 3)) (with "import-func-b" (func 4)) ) ) (export (;2;) "bar" (instance 1)) (@producers (processed-by "wit-component" "$CARGO_PKG_VERSION") ) )