crates/wit-component/tests/interfaces/export-other-packages-interface.wat
raw| 1 | (component |
| 2 | (type (;0;) |
| 3 | (component |
| 4 | (type (;0;) |
| 5 | (component |
| 6 | (type (;0;) |
| 7 | (instance |
| 8 | (type (;0;) u8) |
| 9 | (export (;1;) "t" (type (eq 0))) |
| 10 | ) |
| 11 | ) |
| 12 | (export (;0;) "foo:the-dep/the-interface" (instance (type 0))) |
| 13 | ) |
| 14 | ) |
| 15 | (export (;0;) "foo:foo/foo" (component (type 0))) |
| 16 | ) |
| 17 | ) |
| 18 | (export (;1;) "foo" (type 0)) |
| 19 | (@custom "package-docs" "\01{}") |
| 20 | (@producers |
| 21 | (processed-by "wit-component" "$CARGO_PKG_VERSION") |
| 22 | ) |
| 23 | ) |