#webassembly #wasm

wasmtime-environ

Standalone environment support for WebAsssembly code in Cranelift

57 releases (7 stable)

Uses new Rust 2021

3.0.0 Nov 21, 2022
2.0.2 Nov 10, 2022
2.0.1 Oct 27, 2022
1.0.2 Nov 11, 2022
0.0.0 Aug 3, 2018

#683 in WebAssembly

Download history 30860/week @ 2022-08-10 28975/week @ 2022-08-17 26021/week @ 2022-08-24 32124/week @ 2022-08-31 29128/week @ 2022-09-07 29325/week @ 2022-09-14 34602/week @ 2022-09-21 33378/week @ 2022-09-28 38583/week @ 2022-10-05 34145/week @ 2022-10-12 35156/week @ 2022-10-19 31502/week @ 2022-10-26 34661/week @ 2022-11-02 36028/week @ 2022-11-09 36821/week @ 2022-11-16 25375/week @ 2022-11-23

138,010 downloads per month
Used in 134 crates (16 directly)

Apache-2.0 WITH LLVM-exception

685KB
12K SLoC


lib.rs:

Standalone environment for WebAssembly using Cranelift. Provides functions to translate get_global, set_global, memory.size, memory.grow, call_indirect that hardcode in the translation the base addresses of regions of memory that will hold the globals, tables and linear memories.

Dependencies

~6MB
~133K SLoC