wasm-tools 1.240.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-names legacy --async-callback | \
//        component new | \
//        validate -f cm-async,cm-error-context

package a:b;

interface a {
  type a = s32;
}

world w {
  export a;

  export b: interface {
    use a.{a};
    d: func() -> a;
  }
}