Files
cli/vendor/wit-component/tests/components/adapt-preview1/adapt-wasi-snapshot-preview1.wit

13 lines
316 B
Plaintext

/// This is the interface imported by the `adapt-*.wat` file which is used
/// to implement the `wasi_snapshot_preview1` interface.
interface my-wasi {
random-get: func(size: u32) -> list<u8>;
proc-exit: func(code: u32);
something-not-used: func();
}
world adapt-wasi-snapshot-preview1 {
import my-wasi;
}