Module wasmer::wasm_c_api
source · Expand description
Implementation of the official WebAssembly C API for Wasmer.
We would like to remind the reader that this official standard can
be characterized as a living standard. As such, the API is not
yet stable, even though it shows maturity over time. The API is
described by the wasm.h
C header, which is included by
wasmer.h
C header file (which contains extension of the
standard API, for example to provide WASI or vendor-specific
features).
Quick Guide
Usually, the user first needs to create an engine
and a
store
. Once it’s done, the user needs to create a module
and then instantiate it. When instantiating the
module, the user is able to pass a set of
imports. With an instance, the user is able to call
the exports.
Every module comes with examples and entry points to guide the discovery of this API.