mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-09 07:01:20 +00:00
Wasmer C API
This is the Wasmer WebAssembly Runtime shared library. You can use it in any C/C++ projects.
This directory is structured like the following:
lib
is where the Wasmer shared library lives.include
is where the Wasmer headers live
Using it
If you want to compile a c
file using Wasmer, you can do:
clang YOUR_FILE -Iinclude -lwasmer -Llib
Note: append
-rpath lib
if you are in macOS.
Examples
You can check examples of how to use the Wasmer C API here: