[][src]Crate wasmer_runtime

Modules

error
wasm

Macros

imports

Generate an ImportObject safely.

Structs

Ctx

The context of the currently running WebAssembly instance.

Function

A representation of an exported WebAssembly function.

ImportObject

All of the import data used when instantiating.

Instance

An instantiated WebAssembly module.

Module

A compiled WebAssembly module.

Enums

Value

Represents a WebAssembly value.

Constants

VERSION

The current version of this crate

Functions

compile

Compile WebAssembly binary code into a Module. This function is useful if it is necessary to compile a module before it can be instantiated (otherwise, the instantiate function should be used).

compile_with

Compile a Module using the provided compiler from WebAssembly binary code. This function is useful if it is necessary to a compile a module before it can be instantiated and must be used if you wish to use a different backend from the default.

instantiate

Compile and instantiate WebAssembly code without creating a Module.

validate

Perform validation as defined by the WebAssembly specification. Returns true if validation succeeded, false if validation failed.