(component
(type (;0;)
(component
(type (;0;)
(component
(type (;0;)
(instance)
)
(import "some-interface" (instance (;0;) (type 0)))
(type (;1;) (func))
(import "foo" (func (;0;) (type 1)))
(type (;2;) (func (param "arg" u32)))
(import "bar" (func (;1;) (type 2)))
(export (;2;) "foo2" (func (type 1)))
(type (;3;) (func (result u32)))
(export (;3;) "bar2" (func (type 3)))
(type (;4;)
(instance)
)
(export (;1;) "another-interface" (instance (type 4)))
)
)
(export (;0;) (interface "foo:foo/foo") (component (type 0)))
(type (;1;)
(component
(type (;0;) (func))
(import "foo" (func (;0;) (type 0)))
)
)
(export (;1;) (interface "foo:foo/just-import") (component (type 1)))
(type (;2;)
(component
(type (;0;) (func))
(export (;0;) "foo" (func (type 0)))
)
)
(export (;2;) (interface "foo:foo/just-export") (component (type 2)))
)
)
(export (;1;) (interface "foo:foo/wit") (type 0))
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
)
)