wit-bindgen-cli 0.56.0

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

interface to-test {
  option-none-param: func(a: option<string>);
  option-some-param: func(a: option<string>);
  option-none-result: func() -> option<string>;
  option-some-result: func() -> option<string>;

  option-roundtrip: func(a: option<string>) -> option<string>;

  double-option-roundtrip: func(a: option<option<u32>>) -> option<option<u32>>;
}

world test {
  export to-test;
}

world runner {
  import to-test;

  export run: func();
}