Crates.io | wasm-embedded-rt-wasm3 |
lib.rs | wasm-embedded-rt-wasm3 |
version | 0.4.0 |
source | src |
created_at | 2021-12-18 23:33:07.192175 |
updated_at | 2022-11-26 22:57:02.153904 |
description | Embedded WASM C/wasm3 runtime library |
homepage | |
repository | https://github.com/embedded-wasm/rt_wasm3 |
max_upload_size | |
id | 500170 |
size | 78,915 |
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 build
to create a build directorycmake ..
to setup the build
-DWASME_SPEC_DIR=something
to use a local source for the spec headers-DWASME_BUILD_WASM3=off
to disable building wasm3 (you will need to provide wasm3 headers via -DWASME_WASM3_DIR=something
)make -j
to build the libraryA cargo based build for rust is also provided to simplify integration with rust components.