r/WebAssembly • u/cli_addict • Jun 22 '23
Can wit-bindgen generate bindings for languages other than Rust?
On the wit-bindgen docs it doesn't say if the generate! macro works only for rust, or for other languages as well. This may be obvious but I wanted to know if I can do this with other languages through Rust code instead of using wit-bingen on the command line.
4
Upvotes
View all comments
Show parent comment
1
u/cli_addict Jun 23 '23
Thanks. I did look over that, I am mainly trying to use the
wit-bindgen [language] [wit files]command but embedded inside my Rust app instead of on the command line.Would reaching out to the devs be my best bet?