Docs.rs
  • wasmer-compiler-3.0.0-alpha.4
    • wasmer-compiler 3.0.0-alpha.4
    • Docs.rs crate page
    • MIT OR Apache-2.0 WITH LLVM-exception
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • MarkMcCaskey
    • github:wasmerio:wasmer-core
    • Dependencies
      • backtrace ^0.3 normal
      • cfg-if ^1.0 normal
      • enum-iterator ^0.7.0 normal
      • enumset ^1.0.2 normal
      • hashbrown ^0.11 normal
      • lazy_static ^1.4 normal
      • leb128 ^0.2 normal
      • memmap2 ^0.5 normal
      • more-asserts ^0.2 normal
      • rustc-demangle ^0.1 normal
      • serde ^1.0 normal
      • serde_bytes ^0.11 normal
      • smallvec ^1.6 normal
      • thiserror ^1.0 normal
      • wasmer-types =3.0.0-alpha.4 normal
      • wasmparser ^0.83 normal
      • region ^3.0 normal
      • wasmer-vm =3.0.0-alpha.4 normal
      • winapi ^0.3 normal
    • Versions
    • 100% of the crate is documented
  • Go to latest stable release
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

Crate wasmer_compiler

logo

Crate wasmer_compiler

  • Version 3.0.0-alpha.4
  • All Items
  • Structs
  • Enums
  • Constants
  • Traits
  • Functions
  • Type Definitions

Crates

  • wasmer_compiler
logo
Change settings

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

FRAME_INFO

This is a global cache of backtrace frame information for all active

Features

Controls which experimental features will be enabled. Features usually have a corresponding WebAssembly proposal.

FrameInfo

Description of a frame in a backtrace for a RuntimeError::trace.

FunctionExtent

Represents a continuous region of executable memory starting with a function entry point.

GlobalFrameInfoRegistration

An RAII structure used to unregister a module’s frame information when the module is destroyed.

MetadataHeader

Metadata header which holds an ABI version and the length of the remaining metadata.

RuntimeError

A struct representing an aborted instruction execution, with a message indicating the cause.

Enums

InstantiationError

An error while instantiating a module.

LinkError

The WebAssembly.LinkError object indicates an error during module instantiation (besides traps from the start function).

Constants

VERSION

Version number of this crate.

Traits

ArtifactCreate

An Artifact is the product that the Engine implementation produce and use.

Tunables

An engine delegates the creation of memories, tables, and globals to a foreign implementor of this trait.

Upcastable

Trait needed to get downcasting of Engines to work.

Functions

register_frame_info

Registers a new compiled module’s frame information.

resolve_imports

This function allows to match all imports of a ModuleInfo with concrete definitions provided by a Resolver.

Type Definitions

Addend

Addend to add to the symbol value.

CodeOffset

Offset in bytes from the beginning of the function.

Loading search results...