#run-time #cranelift #wasmtime #environment #standalone

no-std wasmtime-environ

Standalone environment support for WebAssembly code in Cranelift

125 releases (75 stable)

new 26.0.1 Nov 5, 2024
25.0.3 Nov 5, 2024
24.0.2 Nov 5, 2024
23.0.3 Oct 9, 2024
0.0.0 Aug 3, 2018

#1527 in WebAssembly

Download history 98609/week @ 2024-07-18 93884/week @ 2024-07-25 88420/week @ 2024-08-01 101126/week @ 2024-08-08 94571/week @ 2024-08-15 93039/week @ 2024-08-22 98571/week @ 2024-08-29 103348/week @ 2024-09-05 99039/week @ 2024-09-12 102522/week @ 2024-09-19 100438/week @ 2024-09-26 104361/week @ 2024-10-03 100934/week @ 2024-10-10 107301/week @ 2024-10-17 111388/week @ 2024-10-24 111062/week @ 2024-10-31

450,839 downloads per month
Used in 635 crates (26 directly)

Apache-2.0 WITH LLVM-exception

1MB
16K SLoC

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

~6–14MB
~190K SLoC