crates/wit-component/tests/interfaces/single-named-result.wat
raw| 1 | (component |
| 2 | (type (;0;) |
| 3 | (component |
| 4 | (type (;0;) |
| 5 | (instance |
| 6 | (type (;0;) (func (result "a" u32))) |
| 7 | (export (;0;) "a" (func (type 0))) |
| 8 | ) |
| 9 | ) |
| 10 | (export (;0;) "foo:foo/foo" (instance (type 0))) |
| 11 | ) |
| 12 | ) |
| 13 | (export (;1;) "foo" (type 0)) |
| 14 | (@custom "package-docs" "\00{}") |
| 15 | (@producers |
| 16 | (processed-by "wit-component" "$CARGO_PKG_VERSION") |
| 17 | ) |
| 18 | ) |