Major API-incompatible changes include: - Introduce TrapCode::UnreachableCodeReached, used for unreachable in wasm. - cranelift-wasm's `declare_signature` now takes its signature by value - cranelift-wasm's `declare_table_elements` `elems` parameter now takes a boxed slice - Remove cranelift-wasm's `ModuleEnvironment`'s `get_signature`, `get_num_func_imports`, `get_func_type`, and `get_global`.
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.