Uses old Rust 2015
| 0.13.2 |
|
|---|---|
| 0.12.0 |
|
| 0.4.1 |
|
#52 in #translator
70 downloads per month
2MB
38K
SLoC
Performs translation from a wasm module in binary format to the in-memory form
of Cretonne 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 crate provides a DummyEnvironment struct that will allow to translate the code of the
functions but will fail at execution.
The main function of this module is translate_module.
Cretonne has been renamed to Cranelift! For future versions, see the
cranelift-wasm crate.
This crate performs the translation from a wasm module in binary format to the in-memory form of the Cretonne IR.
Dependencies
~3.5MB
~78K SLoC