165 releases (97 breaking)
0.112.3 | Nov 5, 2024 |
---|---|
0.112.1 | Sep 24, 2024 |
0.110.1 | Jul 22, 2024 |
0.106.0 | Mar 20, 2024 |
0.17.0 | Jul 24, 2018 |
#1679 in WebAssembly
331,160 downloads per month
Used in 299 crates
(58 directly)
5MB
115K
SLoC
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.
lib.rs
:
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
.
Dependencies
~8.5MB
~160K SLoC