(component (type $ty-foo (;0;) (instance (export (;0;) "a" (type (sub resource))) (type (;1;) (own 0)) (type (;2;) (func (result 1))) (export (;0;) "[constructor]a" (func (type 2))) (export (;1;) "[static]a.other-new" (func (type 2))) ) ) (import "foo" (instance $foo (;0;) (type $ty-foo))) (core module $main (;0;) (type (;0;) (func (result i32))) (type (;1;) (func (param i32))) (import "foo" "[constructor]a" (func (;0;) (type 0))) (import "foo" "[static]a.other-new" (func (;1;) (type 0))) (import "foo" "[resource-drop]a" (func (;2;) (type 1))) (@producers (processed-by "wit-component" "$CARGO_PKG_VERSION") (processed-by "my-fake-bindgen" "123.45") ) ) (alias export $foo "[constructor]a" (func $"[constructor]a" (;0;))) (core func $"[constructor]a" (;0;) (canon lower (func $"[constructor]a"))) (alias export $foo "[static]a.other-new" (func $"[static]a.other-new" (;1;))) (core func $"[static]a.other-new" (;1;) (canon lower (func $"[static]a.other-new"))) (alias export $foo "a" (type $a (;1;))) (core func $resource.drop (;2;) (canon resource.drop $a)) (core instance $foo (;0;) (export "[constructor]a" (func $"[constructor]a")) (export "[static]a.other-new" (func $"[static]a.other-new")) (export "[resource-drop]a" (func $resource.drop)) ) (core instance $main (;1;) (instantiate $main (with "foo" (instance $foo)) ) ) (@producers (processed-by "wit-component" "$CARGO_PKG_VERSION") ) )