(component
(core module (;0;)
(type (;0;) (func (result i32)))
(export "anon#foo" (func 0))
(func (;0;) (type 0) (result i32)
unreachable
)
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
(processed-by "my-fake-bindgen" "123.45")
)
)
(type (;0;) (resource (rep i32)))
(core instance (;0;) (instantiate 0))
(component (;0;)
(import "import-type-r" (type (;0;) (sub resource)))
(export (;1;) "r" (type 0))
)
(instance (;0;) (instantiate 0
(with "import-type-r" (type 0))
)
)
(export (;1;) "foo:bar/a" (instance 0))
(alias export 1 "r" (type (;1;)))
(type (;2;) (own 1))
(type (;3;) (func (result 2)))
(alias core export 0 "anon#foo" (core func (;0;)))
(func (;0;) (type 3) (canon lift (core func 0)))
(component (;1;)
(import "import-type-r" (type (;0;) (sub resource)))
(import "import-type-r0" (type (;1;) (eq 0)))
(type (;2;) (own 1))
(type (;3;) (func (result 2)))
(import "import-func-foo" (func (;0;) (type 3)))
(export (;4;) "r" (type 0))
(type (;5;) (own 4))
(type (;6;) (func (result 5)))
(export (;1;) "foo" (func 0) (func (type 6)))
)
(instance (;2;) (instantiate 1
(with "import-func-foo" (func 0))
(with "import-type-r" (type 1))
(with "import-type-r0" (type 1))
)
)
(export (;3;) "anon" (instance 2))
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
)
)