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

no-std wasmtime-environ

Standalone environment support for WebAssembly code in Cranelift

131 releases (81 stable)

new 30.0.0 Feb 20, 2025
29.0.1 Jan 21, 2025
28.0.1 Jan 14, 2025
28.0.0 Dec 20, 2024
0.0.0 Aug 3, 2018

#1534 in WebAssembly

Download history 110008/week @ 2024-10-30 108214/week @ 2024-11-06 96906/week @ 2024-11-13 106245/week @ 2024-11-20 104744/week @ 2024-11-27 110557/week @ 2024-12-04 104676/week @ 2024-12-11 95028/week @ 2024-12-18 36990/week @ 2024-12-25 72781/week @ 2025-01-01 106549/week @ 2025-01-08 114080/week @ 2025-01-15 110675/week @ 2025-01-22 107468/week @ 2025-01-29 138704/week @ 2025-02-05 100719/week @ 2025-02-12

474,859 downloads per month
Used in 676 crates (28 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

~5–13MB
~171K SLoC