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 --all-features %

package a:b;

@unstable(feature = foo)
interface foo {
  @unstable(feature = foo)
  type t = u32;
}

@unstable(feature = bar)
interface bar {
  @unstable(feature = baz)
  use foo.{t};

  @unstable(feature = qux)
  record x { y: t }
}