(component (type (;0;) (instance (export (;0;) "a" (type (sub resource))) ) ) (import "foo:bar/foo" (instance (;0;) (type 0))) (alias export 0 "a" (type (;1;))) (import "a" (type (;2;) (eq 1))) (core module (;0;) (type (;0;) (func (param i32))) (type (;1;) (func (param i32) (result i32))) (import "foo:bar/foo" "[resource-drop]a" (func (;0;) (type 0))) (import "[export]foo:bar/foo" "[resource-drop]a" (func (;1;) (type 0))) (import "[export]foo:bar/foo" "[resource-rep]a" (func (;2;) (type 1))) (import "[export]foo:bar/foo" "[resource-new]a" (func (;3;) (type 1))) (@producers (processed-by "wit-component" "$CARGO_PKG_VERSION") (processed-by "my-fake-bindgen" "123.45") ) ) (type (;3;) (resource (rep i32))) (alias export 0 "a" (type (;4;))) (core func (;0;) (canon resource.drop 4)) (core instance (;0;) (export "[resource-drop]a" (func 0)) ) (core func (;1;) (canon resource.drop 3)) (core func (;2;) (canon resource.rep 3)) (core func (;3;) (canon resource.new 3)) (core instance (;1;) (export "[resource-drop]a" (func 1)) (export "[resource-rep]a" (func 2)) (export "[resource-new]a" (func 3)) ) (core instance (;2;) (instantiate 0 (with "foo:bar/foo" (instance 0)) (with "[export]foo:bar/foo" (instance 1)) ) ) (component (;0;) (import "import-type-a" (type (;0;) (sub resource))) (export (;1;) "a" (type 0)) ) (instance (;1;) (instantiate 0 (with "import-type-a" (type 3)) ) ) (export (;2;) "foo:bar/foo" (instance 1)) (@producers (processed-by "wit-component" "$CARGO_PKG_VERSION") ) )