This repo contains everything needed to build C/C++ applications for Faasm:
Faasm supports a range of legacy applications, so requires a toolchain capable of compiling large projects that may require threading, C++ exceptions and dynamic linking. To do this we have to use a custom fork of wasi-libc, and our own build of the LLVM toolchain via this Makefile.
We have made some small changes to the toolchain itself to support building WebAssembly shared libraries outside of the Emscripten target. You can see these in this fork through this diff.
The repo also contains the C/C++ definition of the Faasm host interface.
More detailed docs can be found in: