(component
(core module (;0;)
(type (;0;) (func))
(export "name#a" (func 0))
(func (;0;) (type 0))
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
(processed-by "my-fake-bindgen" "123.45")
)
)
(type (;0;) (record (field "f" u8)))
(type (;1;) (record (field "x" 0)))
(core instance (;0;) (instantiate 0))
(component (;0;)
(type (;0;) (record (field "f" u8)))
(export (;1;) "r1" (type 0))
(type (;2;) (record (field "x" 1)))
(export (;3;) "r2" (type 2))
)
(instance (;0;) (instantiate 0))
(export (;1;) "foo:foo/name" (instance 0))
(type (;2;) (func))
(alias core export 0 "name#a" (core func (;0;)))
(func (;0;) (type 2) (canon lift (core func 0)))
(alias export 1 "r1" (type (;3;)))
(alias export 1 "r2" (type (;4;)))
(component (;1;)
(type (;0;) (record (field "f" u8)))
(import "import-type-r1" (type (;1;) (eq 0)))
(type (;2;) (record (field "x" 1)))
(import "import-type-r2" (type (;3;) (eq 2)))
(type (;4;) (func))
(import "import-func-a" (func (;0;) (type 4)))
(export (;5;) "r2" (type 3))
(type (;6;) (func))
(export (;1;) "a" (func 0) (func (type 6)))
)
(instance (;2;) (instantiate 1
(with "import-func-a" (func 0))
(with "import-type-r1" (type 3))
(with "import-type-r2" (type 4))
)
)
(export (;3;) "name" (instance 2))
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
)
)