(component (type (;0;) (instance (export (;0;) "r" (type (sub resource))) (type (;1;) (own 0)) (type (;2;) (func (result 1))) (export (;0;) "[constructor]r" (func (type 2))) (type (;3;) (func (param "x" string))) (export (;1;) "x" (func (type 3))) ) ) (import "a:b/c@0.1.1" (instance (;0;) (type 0))) (core module (;0;) (type (;0;) (func)) (type (;1;) (func (result i32))) (type (;2;) (func (param i32))) (type (;3;) (func (param i32 i32))) (import "old" "f" (func (;0;) (type 0))) (import "a:b/c@0.1.0" "[constructor]r" (func (;1;) (type 1))) (import "a:b/c@0.1.0" "[resource-drop]r" (func (;2;) (type 2))) (import "a:b/c@0.1.0" "x" (func (;3;) (type 3))) (memory (;0;) 1) (export "memory" (memory 0)) (@producers (processed-by "wit-component" "$CARGO_PKG_VERSION") (processed-by "my-fake-bindgen" "123.45") ) ) (core module (;1;) (type (;0;) (func)) (export "f" (func 0)) (func (;0;) (type 0)) ) (core module (;2;) (type (;0;) (func)) (type (;1;) (func (param i32 i32))) (table (;0;) 2 2 funcref) (export "0" (func $adapt-old-f)) (export "1" (func $indirect-a:b/c@0.1.0-x)) (export "$imports" (table 0)) (func $adapt-old-f (;0;) (type 0) i32.const 0 call_indirect (type 0) ) (func $indirect-a:b/c@0.1.0-x (;1;) (type 1) (param i32 i32) local.get 0 local.get 1 i32.const 1 call_indirect (type 1) ) (@producers (processed-by "wit-component" "$CARGO_PKG_VERSION") ) ) (core module (;3;) (type (;0;) (func)) (type (;1;) (func (param i32 i32))) (import "" "0" (func (;0;) (type 0))) (import "" "1" (func (;1;) (type 1))) (import "" "$imports" (table (;0;) 2 2 funcref)) (elem (;0;) (i32.const 0) func 0 1) (@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 "f" (func 0)) ) (alias export 0 "[constructor]r" (func (;0;))) (core func (;1;) (canon lower (func 0))) (alias export 0 "r" (type (;1;))) (core func (;2;) (canon resource.drop 1)) (alias core export 0 "1" (core func (;3;))) (core instance (;2;) (export "[constructor]r" (func 1)) (export "[resource-drop]r" (func 2)) (export "x" (func 3)) ) (core instance (;3;) (instantiate 0 (with "old" (instance 1)) (with "a:b/c@0.1.0" (instance 2)) ) ) (alias core export 3 "memory" (core memory (;0;))) (core instance (;4;) (instantiate 1)) (alias core export 0 "$imports" (core table (;0;))) (alias core export 4 "f" (core func (;4;))) (alias export 0 "x" (func (;1;))) (core func (;5;) (canon lower (func 1) (memory 0) string-encoding=utf8)) (core instance (;5;) (export "$imports" (table 0)) (export "0" (func 4)) (export "1" (func 5)) ) (core instance (;6;) (instantiate 3 (with "" (instance 5)) ) ) (@producers (processed-by "wit-component" "$CARGO_PKG_VERSION") ) )