#run-time #cranelift #wasmtime #table #environment

no-std wasmtime-environ

Standalone environment support for WebAssembly code in Cranelift

133 releases (83 stable)

30.0.2 Feb 25, 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

#1568 in WebAssembly

Download history 104063/week @ 2024-11-17 104917/week @ 2024-11-24 105262/week @ 2024-12-01 114354/week @ 2024-12-08 103028/week @ 2024-12-15 52466/week @ 2024-12-22 48683/week @ 2024-12-29 100936/week @ 2025-01-05 118330/week @ 2025-01-12 110247/week @ 2025-01-19 105013/week @ 2025-01-26 132018/week @ 2025-02-02 126623/week @ 2025-02-09 119265/week @ 2025-02-16 112226/week @ 2025-02-23 110268/week @ 2025-03-02

476,884 downloads per month
Used in 685 crates (28 directly)

Apache-2.0 WITH LLVM-exception

1MB
17K 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