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

wasmtime-environ

Standalone environment support for WebAsssembly code in Cranelift

108 releases (58 stable)

new 20.0.2 May 7, 2024
20.0.0 Apr 22, 2024
19.0.2 Apr 11, 2024
19.0.0 Mar 20, 2024
0.0.0 Aug 3, 2018

#1297 in WebAssembly

Download history 81402/week @ 2024-01-19 77814/week @ 2024-01-26 79522/week @ 2024-02-02 79462/week @ 2024-02-09 88130/week @ 2024-02-16 91448/week @ 2024-02-23 87993/week @ 2024-03-01 90423/week @ 2024-03-08 94366/week @ 2024-03-15 91620/week @ 2024-03-22 98802/week @ 2024-03-29 103439/week @ 2024-04-05 99716/week @ 2024-04-12 101962/week @ 2024-04-19 87064/week @ 2024-04-26 85657/week @ 2024-05-03

392,236 downloads per month
Used in 579 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
~150K SLoC