Closed jurij-jukic closed 6 months ago
wit-bindgen
generates code in your language of choice from a WIT file and that generated code is then used. E.g.:generate the rust code from wit
import from the generated rust code
process using types that were generated from wit
We define the import
s in the runtime, here that are declared here
'Since Kinode apps use the WebAssembly Component Model, they are built on top of a WIT (Wasm Interface Type) package.'
'This interface contains the core types and functions that are available to all Kinode apps, and these are automatically generated in Rust when building a Wasm app.'