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