wit-bindgen-cli 0.56.0

CLI tool to generate bindings for WIT documents and the component model.
package test:resource-borrow;

interface to-test {
  resource thing {
    constructor(v: u32);
  }

  foo: func(v: borrow<thing>) -> u32;
}

world test {
  export to-test;
}

world runner {
  import to-test;

  export run: func();
}