168 releases (97 breaking)

0.112.3 Nov 5, 2024
0.112.1 Sep 24, 2024
0.111.5 Nov 11, 2025
0.111.4 Jul 18, 2025
0.17.0 Jul 24, 2018

#2008 in WebAssembly

Download history 46049/week @ 2025-08-06 43341/week @ 2025-08-13 40494/week @ 2025-08-20 51779/week @ 2025-08-27 47306/week @ 2025-09-03 51068/week @ 2025-09-10 40455/week @ 2025-09-17 44620/week @ 2025-09-24 47442/week @ 2025-10-01 34327/week @ 2025-10-08 43768/week @ 2025-10-15 42365/week @ 2025-10-22 41542/week @ 2025-10-29 53828/week @ 2025-11-05 41954/week @ 2025-11-12 54524/week @ 2025-11-19

197,226 downloads per month
Used in 265 crates (5 directly)

Apache-2.0 WITH LLVM-exception

5MB
110K SLoC

Performs translation from a wasm module in binary format to the in-memory form of Cranelift IR. More particularly, it translates the code of all the functions bodies and interacts with an environment implementing the ModuleEnvironment trait to deal with tables, globals and linear memory.

The main function of this module is translate_module.


This crate performs the translation from a wasm module in binary format to the in-memory form of the Cranelift IR.

If you're looking for a complete WebAssembly implementation that uses this library, see Wasmtime.

Dependencies

~8.5MB
~160K SLoC