wit-bindgen-cli 0.57.1

CLI tool to generate bindings for WIT documents and the component model.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package example:composition;

let leaf = new test:leaf { ... };
let intermediate = new test:intermediate {
  test: leaf.test,
  imports: leaf.imports,
  float: leaf.test.float,
  ...
};
let runner = new test:runner {
  exports: intermediate.exports,
  test: leaf.test,
  float: leaf.test.float,
  add: intermediate.add,
  ...
};

export runner...;