Crate wasmtime_c_api

Source
Expand description

This crate is the implementation of Wasmtime’s C API.

This crate is normally not intended to be used from Rust itself. For that, see the wasmtime crate. It is possible to use this crate via Cargo, for Rust crates that wrap C libraries that use wasmtime. Most often, this crate is compiled as a cdylib or staticlib, via the wasmtime-c-api crate.

Documentation for this crate largely lives in the header files of the include directory for this crate.

At a high level this crate implements the wasm.h API with some gymnastics, but otherwise an accompanying wasmtime.h API is provided which is more specific to Wasmtime and has fewer gymnastics to implement.

Re-exports§

Structs§

Enums§

Constants§

Functions§

Type Aliases§

Unions§