wasmer-runtime-c-api-0.10.0 is not a library.
Visit the last successful build:
wasmer-runtime-c-api-0.17.0
Wasmer Runtime C API
Wasmer is a standalone JIT WebAssembly runtime, aiming to be fully compatible with WASI, Emscripten, Rust and Go. Learn more.
This crate exposes a C and a C++ API for the Wasmer runtime.
Usage
The C and C++ header files can be found in the source tree of this
crate, respectively wasmer.h
and
wasmer.hh
. They are automatically generated, and always
up-to-date in this repository.
The runtime shared library (so, dll, dylib) can also be downloaded in Wasmer release page.
Here is a simple example to use the C API:
int
Testing
The tests can be run via cargo test
, such as:
To run tests manually, enter the lib/runtime-c-api/tests
directory
and run the following commands:
License
Wasmer is primarily distributed under the terms of the MIT license (LICENSE).