wit-bindgen-cli 0.57.0

CLI tool to generate bindings for WIT documents and the component model.
package foo:bar;

interface b {
  f: func();
}

world runner {
  import a: interface {
    f: func();
  }
  import b;

  export run: func();
}

world test {
  export a: interface {
    f: func();
  }
  export b;
}