Crate wasmer_artifact

Source
Expand description

Generic Artifact abstraction for Wasmer Engines.

Structs§

  • A safe wrapper around VMFunctionBody.
  • Metadata header which holds an ABI version and the length of the remaining metadata.
  • A placeholder byte-sized type which is just used to provide some amount of type safety when dealing with pointers to JIT-compiled function bodies. Note that it’s deliberately not Copy, as we shouldn’t be carelessly copying function body bytes around.

Enums§

Constants§

  • Version number of this crate.

Traits§

  • An Artifact is the product that the Engine implementation produce and use.
  • Trait needed to get downcasting of Engines to work.