Skip to content
/ cpp Public

Tools for building C/C++ to WebAssembly for Faasm

License

Notifications You must be signed in to change notification settings

faasm/cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a1c54c1 · Oct 19, 2024
Jul 26, 2024
Jul 18, 2023
Mar 12, 2024
Mar 12, 2024
Oct 3, 2024
Oct 9, 2024
Mar 12, 2024
Oct 19, 2024
Mar 12, 2024
Mar 12, 2024
Mar 7, 2023
Mar 12, 2024
Jul 26, 2024
Mar 12, 2024
Mar 12, 2024
Mar 12, 2024
Mar 19, 2021
Nov 25, 2020
Jul 26, 2024
May 13, 2024
Mar 7, 2023
Aug 25, 2020
Oct 12, 2020
Mar 12, 2024
Feb 27, 2023
Mar 4, 2022
Jul 26, 2024
Mar 12, 2024
Oct 1, 2020
Jan 17, 2023
Aug 25, 2020
Oct 12, 2020
Sep 6, 2023
Mar 12, 2021

Repository files navigation

Faasm C/C++ Support CPP tests License

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: