SDK for C and C++ WebAssembly development based on Nix and LLVM
| .gitignore | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
| wasi-libc.nix | ||
| wasm-compiler-rt.nix | ||
| wasm-libcxx.nix | ||
| wasm-llvm.nix | ||
wasm-sdk
A Nix-based SDK for C and C++ development targeting WebAssembly.
Goals
- Lean toolchain leveraging as much as possible from upstream sources.
- Basic levels of WASI (no threading, no exceptions).
Versions
- LLVM: 17
- wasi-libc: 21
Usage
The package contains all required dependencies in the following build subdirectories:
bin: compilers (clang,clang++) and linker (wasm-ld)include: libc headersinclude/c++/v1: libcxx headerslib: all libc and libcxx static librarieslib/wasi: compiler-rt builtins static library