Module wasmer_compiler::object

source ·
Expand description

Object creator for Wasm Compilations.

Given a compilation result (this is, the result when calling Compiler::compile_module) this exposes functions to create an Object file for a given target.

Re-exports§

  • pub use object;

Modules§

Structs§

  • A writable relocatable object file.
  • ObjectMetadataBuilder builds serialized module metadata include in an object. In addition, it also relies on information from ModuleInfo to build a table of function pointers, trmampolines and dynamic function trampoline pointers. ObjectMetadataBuilder takes care of setting up relocations, so a linker can automatically fill in actuall addesses of all relavant functions. There is no need to piece the information together in the glue C file.

Enums§

  • The Object error can occur when creating an object file from a Compilation.

Functions§