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 33 |
| libclang_rt | WASI SDK 33 |
| libgc | v8.2.12 |
| libpcre2 | 10.47 |
Output: wasm32-wasi-sysroot/lib/wasm32-wasi/*.a
Edit versions.mk:
ALPINE_VERSION ?= 3.24
WASI_SDK_MAJOR ?= 33
WASI_SDK_FULL ?= 33.0+m
WASI_TARGET ?= wasm32-wasip1
WASI_HOST ?= wasm32-wasi
BDWGC_VERSION ?= v8.2.12
PCRE2_VERSION ?= pcre2-10.47Or override:
make WASI_SDK_MAJOR=33 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.
Push a v* tag to run .github/workflows/release.yml and publish a GitHub Release.
GitHub Actions versions are maintained by Dependabot.