#cranelift #table #run-time #memory #standalone #environment

wasmtime-environ

Standalone environment support for WebAsssembly code in Cranelift

106 releases (56 stable)

new 20.0.0 Apr 22, 2024
19.0.2 Apr 11, 2024
19.0.0 Mar 20, 2024
18.0.4 Apr 11, 2024
0.0.0 Aug 3, 2018

#1272 in WebAssembly

Download history 59760/week @ 2024-01-02 72830/week @ 2024-01-09 85455/week @ 2024-01-16 76691/week @ 2024-01-23 76029/week @ 2024-01-30 84020/week @ 2024-02-06 80913/week @ 2024-02-13 88282/week @ 2024-02-20 92801/week @ 2024-02-27 85630/week @ 2024-03-05 92288/week @ 2024-03-12 99369/week @ 2024-03-19 79523/week @ 2024-03-26 113744/week @ 2024-04-02 101932/week @ 2024-04-09 79315/week @ 2024-04-16

394,189 downloads per month
Used in 557 crates (25 directly)

Apache-2.0 WITH LLVM-exception

800KB
14K 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

~7.5MB
~149K SLoC