Build C/C++ libraries for WebAssembly WASI target.
make all # Build all libraries
make libc libgc # Build specific libraries
make clean # Remove build artifactsRequires: Docker or Podman
| Library | Version |
|---|---|
| libc | WASI SDK 30 |
| libclang_rt | WASI SDK 30 |
| libgc | v8.2.10 |
| libpcre2 | 10.47 |
Output: wasm32-wasi-sysroot/lib/wasm32-wasi/*.a
Edit versions.mk:
WASI_SDK_MAJOR ?= 30
BDWGC_VERSION ?= v8.3.0Or override:
make WASI_SDK_MAJOR=30 build-containerQuick upgrade check:
make clean all
make tarSee UPGRADE_NOTES.md for upgrade procedures.
- Keep regular version updates in
versions.mkonly. - Keep workflow changes in
.github/workflows/release.ymlonly. - Change
libs/*/build.shonly when upstream changes break builds.