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

no-std wasmtime-environ

Standalone environment support for WebAsssembly code in Cranelift

112 releases (62 stable)

new 23.0.1 Jul 22, 2024
22.0.0 Jun 20, 2024
21.0.1 May 22, 2024
20.0.2 May 7, 2024
0.0.0 Aug 3, 2018

#1411 in WebAssembly

Download history 112018/week @ 2024-04-03 100605/week @ 2024-04-10 98240/week @ 2024-04-17 98477/week @ 2024-04-24 84779/week @ 2024-05-01 88314/week @ 2024-05-08 88881/week @ 2024-05-15 95090/week @ 2024-05-22 96932/week @ 2024-05-29 80521/week @ 2024-06-05 87272/week @ 2024-06-12 85868/week @ 2024-06-19 86119/week @ 2024-06-26 79913/week @ 2024-07-03 88372/week @ 2024-07-10 82127/week @ 2024-07-17

352,981 downloads per month
Used in 592 crates (26 directly)

Apache-2.0 WITH LLVM-exception

1MB
15K 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–15MB
~200K SLoC