Crates.io | west |
lib.rs | west |
version | 0.2.0 |
source | src |
created_at | 2019-04-04 05:03:09.49353 |
updated_at | 2024-09-24 16:26:00.947351 |
description | WebAssembly component test runtime |
homepage | https://github.com/wasmCloud/west |
repository | https://github.com/wasmCloud/west |
max_upload_size | |
id | 125766 |
size | 176,888 |
west
is a testing framework, which lets you test your WebAssembly applications natively and using all your existing development tools (e.g. debuggers).
west
provides west-bindgen-go
utility, which walks the complete AST of your application and generates a binding file, which replaces functions with wasmimport
directives, normally provided by the runtime, by a native implementation, which invokes those imports on a WebAssembly component (harness) running in an embedded Wasmtime instance. This lets you test you applications without changing implementation and achieving full test coverage.
west
uses cabish
to read and write values over FFI to pass to embedded Wasmtime instance.