Uses old Rust 2015
0.13.2 |
|
---|---|
0.12.0 |
|
0.4.1 |
|
#4 in #cretonne
70 downloads per month
2MB
38K
SLoC
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.
lib.rs
:
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
.
Dependencies
~3MB
~68K SLoC