Crate wasmer_compiler

source ·
Expand description

The wasmer-compiler crate provides the necessary abstractions to create a compiler.

It provides an universal way of parsing a module via wasmparser, while giving the responsibility of compiling specific function WebAssembly bodies to the Compiler implementation.

Structs

Enums

Constants

  • Version number of this crate.

Type Definitions

  • Addend to add to the symbol value.
  • Offset in bytes from the beginning of the function.
  • The custom sections for a Compilation.
  • The compiled functions map (index in the Wasm -> function)
  • Code offsets for Jump Tables.
  • Relocations to apply to function bodies.
  • A convenient alias for a Result that uses WasmError as the error type.