Skip to content

kojix2/wasm-libs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wasm-libs

Build C/C++ libraries for WebAssembly WASI target.

Usage

make all              # Build all libraries
make libc libgc       # Build specific libraries
make clean            # Remove build artifacts

Requires: Docker or Podman

Libraries

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

Version Updates

Edit versions.mk:

WASI_SDK_MAJOR ?= 30
BDWGC_VERSION ?= v8.3.0

Or override:

make WASI_SDK_MAJOR=30 build-container

Quick upgrade check:

make clean all
make tar

See UPGRADE_NOTES.md for upgrade procedures.

Minimal Maintenance Policy

  • Keep regular version updates in versions.mk only.
  • Keep workflow changes in .github/workflows/release.yml only.
  • Change libs/*/build.sh only when upstream changes break builds.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Makefile 45.9%
  • Shell 40.6%
  • Dockerfile 13.5%