| 1 |
/// This is the interface imported by the `adapt-*.wat` file which is used |
| 2 |
/// to implement the `wasi_snapshot_preview1` interface. |
| 3 |
|
| 4 |
interface my-wasi { |
| 5 |
proc-exit: func(code: u32); |
| 6 |
} |
| 7 |
|
| 8 |
world adapt-wasi-snapshot-preview1 { |
| 9 |
import my-wasi; |
| 10 |
} |