This commit adds a `wasmtime-rust` crate to the `misc` folder next to the previously added Python extension. The intention is that this showcases loading a WebAssembly file natively in Rust and how with an attribute macro it can feel lightweight in terms of boilerplate. The macro itself is pretty non-featureful today beyond the bare bones to get anything working, but there's all sorts of possibilities like JIT-compiled entry stubs we could eventually do with all the type information!
6 lines
191 B
Markdown
6 lines
191 B
Markdown
# `wasmtime-rust-macro`
|
|
|
|
This is the actual definition of the `#[wasmtime]` macro, but it's intended that
|
|
this crate isn't used directly but rather the `wasmtime-rust` crate is used
|
|
instead.
|