Skip to main content

Crate wasmtime_internal_core

Crate wasmtime_internal_core 

Source
Expand description

⚠️ Warning ⚠️: this crate is an internal-only crate for the Wasmtime project and is not intended for general use. APIs are not strictly reviewed for safety and usage outside of Wasmtime may have bugs. If you’re interested in using this feel free to file an issue on the Wasmtime repository to start a discussion about doing so, but otherwise be aware that your usage of this crate is not supported.

Modules§

alloc
Low-level allocation and OOM-handling utilities.
error
Wasmtime’s universal error handling types.
math
A minimal module for implementing float-related operations for WebAssembly in terms of the native platform primitives.
slab
A very simple, uniformly-typed slab arena that supports deallocation and reusing deallocated entries’ space.
undo
Helpers for undoing partial side effects when their larger operation fails.

Macros§

anyhowDeprecated
Identical to the format_err! macro.
bail
Early exit from the current function with an error.
ensure
Ensure that a condition holds true, or else early exit from the current function with an error.
format_err
Construct an Error via string formatting or another error.