This repo contains everything needed to build C/C++ applications for Faasm:
Faasm aims to support 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 along with an emulator to compile and test native applications.
More detailed docs can be found in: