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