73 lines
1.8 KiB
Plaintext
73 lines
1.8 KiB
Plaintext
|
|
(component
|
||
|
|
(type (;0;)
|
||
|
|
(component
|
||
|
|
(type (;0;)
|
||
|
|
(instance
|
||
|
|
(type (;0;) u32)
|
||
|
|
(export (;1;) "a" (type (eq 0)))
|
||
|
|
(export (;2;) "b" (type (eq 1)))
|
||
|
|
(export (;3;) "c" (type (eq 2)))
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(export (;0;) "foo:foo/foo" (instance (type 0)))
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(export (;1;) "foo" (type 0))
|
||
|
|
(type (;2;)
|
||
|
|
(component
|
||
|
|
(type (;0;)
|
||
|
|
(instance
|
||
|
|
(type (;0;) u32)
|
||
|
|
(export (;1;) "a" (type (eq 0)))
|
||
|
|
(export (;2;) "b" (type (eq 1)))
|
||
|
|
(export (;3;) "c" (type (eq 2)))
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(import "foo:foo/foo" (instance (;0;) (type 0)))
|
||
|
|
(alias export 0 "c" (type (;1;)))
|
||
|
|
(type (;2;)
|
||
|
|
(instance
|
||
|
|
(alias outer 1 1 (type (;0;)))
|
||
|
|
(export (;1;) "c" (type (eq 0)))
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(export (;1;) "foo:foo/bar" (instance (type 2)))
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(export (;3;) "bar" (type 2))
|
||
|
|
(type (;4;)
|
||
|
|
(component
|
||
|
|
(type (;0;)
|
||
|
|
(instance
|
||
|
|
(type (;0;) u32)
|
||
|
|
(export (;1;) "a" (type (eq 0)))
|
||
|
|
(export (;2;) "b" (type (eq 1)))
|
||
|
|
(export (;3;) "c" (type (eq 2)))
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(import "foo:foo/foo" (instance (;0;) (type 0)))
|
||
|
|
(alias export 0 "c" (type (;1;)))
|
||
|
|
(type (;2;)
|
||
|
|
(instance
|
||
|
|
(alias outer 1 1 (type (;0;)))
|
||
|
|
(export (;1;) "c" (type (eq 0)))
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(import "foo:foo/bar" (instance (;1;) (type 2)))
|
||
|
|
(alias export 1 "c" (type (;3;)))
|
||
|
|
(type (;4;)
|
||
|
|
(instance
|
||
|
|
(alias outer 1 3 (type (;0;)))
|
||
|
|
(export (;1;) "c" (type (eq 0)))
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(export (;2;) "foo:foo/baz" (instance (type 4)))
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(export (;5;) "baz" (type 4))
|
||
|
|
(@custom "package-docs" "\01{}")
|
||
|
|
(@producers
|
||
|
|
(processed-by "wit-component" "$CARGO_PKG_VERSION")
|
||
|
|
)
|
||
|
|
)
|