(component
(type (;0;)
(component
(type (;0;)
(component
(type (;0;) (func))
(import "foo" (func (;0;) (type 0)))
)
)
(export (;0;) "just-import" "pkg:/world-top-level/just-import" (component (type 0)))
(type (;1;)
(component
(type (;0;) (func))
(export (;0;) "foo" (func (type 0)))
)
)
(export (;1;) "just-export" "pkg:/world-top-level/just-export" (component (type 1)))
(type (;2;)
(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)))
(type (;3;)
(instance)
)
(export (;1;) "another-interface" (instance (type 3)))
(export (;2;) "foo2" (func (type 1)))
(type (;4;) (func (result u32)))
(export (;3;) "bar2" (func (type 4)))
)
)
(export (;2;) "foo" "pkg:/world-top-level/foo" (component (type 2)))
)
)
(export (;1;) "world-top-level" "pkg:/world-top-level" (type 0))
)