A playground showing how to embed Wasmtime in a Rust program. This shows how to create a Wasm Component interface using WIT, and expose it to the inside of a Wasmtime sandbox.
Using the WIT definition you can then use wit-bindgen
or another WIT bindings
generator to create a guest implementation which runs inside of our newly
defined Wasm Component runtime.
Thanks to Pat Hickey for providing the step-by-step instructions on how to do this.
Apache-2.0