Can I somehow make visible what wit-bindgen generates? If yes, how?
There are multiple ways to invoke wit-bindgen. Are you referring to the Rust macro? If so, the most straightforward way is probably https://github.com/dtolnay/cargo-expand
If you happen to be using vscode with the rust-analyzer extension you can put the cursor on the macro invocation and run the command "rust-analyzer: Expand macro recursively"
that works, thank you!
Also, if you're using cargo-component, you can find the generated bindings in target/bindings
Last updated: Nov 22 2024 at 16:03 UTC