You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked for the repo of wit-bindgen and cargo-component, and there are several examples of designing import, export, and func. But they are basically at the level of helloworld and adder.
But how to create a struct similar to Rust? The docs mention resource, interface, record, etc., but there are no examples to explain how to write wit and bind at the Rust level.
It's basically some expansion to the current tutorial.
The text was updated successfully, but these errors were encountered:
@chaosprint It might take us a bit to decide on how we want to organise things, but if you want to know about resources pronto, see #140. I'll have a look at putting something similar together for records, which I hope will be a lot simpler.
I looked for the repo of wit-bindgen and cargo-component, and there are several examples of designing import, export, and func. But they are basically at the level of helloworld and adder.
But how to create a struct similar to Rust? The docs mention resource, interface, record, etc., but there are no examples to explain how to write wit and bind at the Rust level.
It's basically some expansion to the current tutorial.
The text was updated successfully, but these errors were encountered: