Stream: wit-bindgen

Topic: How do you look at the generated code?


view this post on Zulip Xe Iaso (May 19 2025 at 01:50):

I'm working on making host bindings in Go with Wazero and I need to look at the generated code from wit-bindgen so I can understand what's going on. Is there a way to make wit-bindgen write .rs files to the filesystem instead of operating through a proc macro?

view this post on Zulip Alex Crichton (May 19 2025 at 04:14):

You can run wit-bindgen rust the CLI command, there's docs online of how to debug generated code


Last updated: Jan 10 2026 at 20:04 UTC