cretonne-wasm 0.1.0

Translator from WebAssembly to Cretonne IL
Documentation

Performs the translation from a wasm module in binary format to the in-memory representation of the Cretonne IL. 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.