wit-bindgen-cli 0.57.1

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

interface test-import {
  resource resource-a {
    constructor(id: u32);
  }

  record record-a {
    resource-a: resource-a,
    resources: list<resource-a>,
  }

  resource resource-b {
    make: static func(record-a: record-a);
  }
}

world test-world {
  import test-import;
}