Debian Codegraph @

crates/wit-component/tests/components/adapt-preview1/adapt-wasi-snapshot-preview1.wit

raw
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 random-get: func(size: u32) -> list<u8>;
6 proc-exit: func(code: u32);
7 something-not-used: func();
8 }
9
10 world adapt-wasi-snapshot-preview1 {
11 import my-wasi;
12 }