A WASM3 runtime based on the embedded-wasm spec. This implements the WITX API for drivers matching the C driver interface included in the spec.
WIP. Extremely alpha, expect changes and breakages while we develop the ecosystem.
The runtime library is primarily built using cmake, though it is relatively straightforward to port this to other mechanisms.
mkdir build && cd buildto create a build directorycmake ..to setup the build- Add
-DWASME_SPEC_DIR=somethingto use a local source for the spec headers - Use
-DWASME_BUILD_WASM3=offto disable building wasm3 (you will need to provide wasm3 headers via-DWASME_WASM3_DIR=something)
- Add
make -jto build the library
A cargo based build for rust is also provided to simplify integration with rust components.