Files
cli/vendor/wit-component/tests/interfaces/simple-world.wat

36 lines
841 B
Plaintext
Raw Normal View History

(component
(type (;0;)
(component
(type (;0;)
(instance
(type (;0;) (func (param "arg" string)))
(export (;0;) "log" (func (type 0)))
)
)
(export (;0;) "foo:foo/console" (instance (type 0)))
)
)
(export (;1;) "console" (type 0))
(type (;2;)
(component
(type (;0;)
(component
(type (;0;)
(instance
(type (;0;) (func (param "arg" string)))
(export (;0;) "log" (func (type 0)))
)
)
(import "foo:foo/console" (instance (;0;) (type 0)))
)
)
(export (;0;) "foo:foo/the-world" (component (type 0)))
)
)
(export (;3;) "the-world" (type 2))
(@custom "package-docs" "\01{}")
(@producers
(processed-by "wit-component" "$CARGO_PKG_VERSION")
)
)