wasm-tools 1.253.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 dep {
  type t = u32;
}
interface i {
  use dep.{t};
}

world foo {
  import a: i;
  import b: i;
  export dep;
  export a: i;
  export b: i;
}