Compiling C to WebAssembly using Clang/LLVM & WASI
These are my notes. See also “[Compiling C to WebAssembly using clang/LLVM and WASI][fda]” by [Frank Denis], which was my starting point.
Assume the following example program in a file called example.c
:
#include <stdio.h>