Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/michaelfranzl/wasm-sdk

SDK for C and C++ WebAssembly development based on Nix and LLVM
https://github.com/michaelfranzl/wasm-sdk

llvm nix nix-flake sdk sdk-wasm wasm webassembly

Last synced: 3 days ago
JSON representation

SDK for C and C++ WebAssembly development based on Nix and LLVM

Awesome Lists containing this project

README

        

# 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* headers
* `include/c++/v1`: *libcxx* headers
* `lib`: all *libc* and *libcxx* static libraries
* `lib/wasi`: compiler-rt builtins static library