Runtime library support for Wasmtime.
Runtime library calls.
A function export value.
A global export value.
A memory export value.
A table export value.
Registeration for JIT image
Resolved import pointers.
A handle holding an
An link error while instantiating a module.
A simple struct consisting of a page-aligned pointer to page-aligned and initially-zeroed memory and a length.
WebAssembly requires that the caller and callee signatures in an indirect call must match. To implement this efficiently, keep a registry of all signatures, shared by all instances, so that call sites can just do an index comparison.
A table instance.
The VM caller-checked "anyfunc" record, for caller-side signature checking. It consists of the actual function pointer and a signature id to be checked by the caller.
The VM "context", which is pointed to by the
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.
An imported function.
The storage for a WebAssembly global defined within the instance.
The fields compiled code needs to access to utilize a WebAssembly global variable imported from another instance.
Structure used to control interrupting wasm code, currently with only one atomic flag internally used.
The storage for a WebAssembly invocation argument
The fields compiled code needs to access to utilize a WebAssembly linear memory defined within the instance, namely the start address and the size in bytes.
The fields compiled code needs to access to utilize a WebAssembly linear memory imported from another instance.
An index into the shared signature registry, usable for checking signatures at indirect calls.
The fields compiled code needs to access to utilize a WebAssembly table defined within the instance.
The fields compiled code needs to access to utilize a WebAssembly table imported from another instance.
The value of an export passed from one instance to another.
An error while instantiating a module.
Stores trace message with backtrace.
Version number of this crate.
A linear memory
A memory allocator
Catches any wasm traps that happen within the execution of
This function performs the low-overhead signal handler initialization that we want to do eagerly to ensure a more-deterministic global process state.
Raises a trap from inside library code immediately.
Raises a user-defined trap immediately.
Carries a Rust panic across wasm code and resumes the panic on the other side.
Function which may handle custom signals while processing traps.