wasm-tools 1.251.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 embed --dummy --wat % | component wit
package foo:root;
package test:foo1 {
  interface bar {
    baz: func(s: string) -> string;
  }
}

package test:foo2 {
  interface bar {
    baz: func(s: string) -> string;
  }
}

world hello {
  import test:foo1/bar;
  export test:foo2/bar;
}