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

no-std wasmtime-environ

Standalone environment support for WebAssembly code in Cranelift

128 releases (78 stable)

new 28.0.1 Jan 14, 2025
28.0.0 Dec 20, 2024
27.0.0 Nov 20, 2024
26.0.1 Nov 5, 2024
0.0.0 Aug 3, 2018

#1529 in WebAssembly

Download history 101776/week @ 2024-09-25 102892/week @ 2024-10-02 99542/week @ 2024-10-09 107191/week @ 2024-10-16 112551/week @ 2024-10-23 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 85474/week @ 2025-01-08

306,596 downloads per month
Used in 660 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–14MB
~173K SLoC