wasm-tools 1.248.0

CLI tools for interoperating with WebAssembly files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// RUN: component wit --generate-nominal-type-ids foo % --json

package a:b;

interface x {
  resource r;
  hi: func() -> r;
}

interface y {
  resource r;
  hi: func() -> r;
}

world foo {
  import x;
  export y;
}