Stream: wit-bindgen

Topic: wit-bindgen-cli and `use pkg`


view this post on Zulip Surma (Mar 02 2023 at 17:59):

Does wit-bindgen not support use pkg... yet? I’m trying to run a ToT build on this test case from wasm-tools and it’s erroring...

$ wit-bindgen rust foo.wit
Error: document `bar` does not exist
     --> foo.wit:14:11
      |
   14 |   use pkg.bar.{a-name}
      |
Low level tooling for WebAssembly in Rust. Contribute to bytecodealliance/wasm-tools development by creating an account on GitHub.

Last updated: Oct 23 2024 at 20:03 UTC