WASI-enabled WebAssembly C/C++ toolchain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Adam C. Foltzer 6bfbcedb69
bump sysroot submodule
6 years ago
src bump sysroot submodule 6 years ago
.gitignore produce deb and tars 6 years ago
.gitmodules add reference-sysroot as submodule 6 years ago
Dockerfile produce deb and tars 6 years ago
Makefile Spell "WASI SDK" consistently. 6 years ago
README.md Add a basic README.md. 6 years ago
deb_from_installation.sh produce deb and tars 6 years ago
docker_build.sh produce deb and tars 6 years ago
tar_from_installation.sh produce deb and tars 6 years ago
version.sh build system fixups 6 years ago
wasi-sdk.cmake Spell "WASI SDK" consistently. 6 years ago
wasi-sdk.control initial commit 6 years ago

README.md

WASI SDK

Quick Start

Download SDK packages here.

About this repository

This repository contains no compiler or library code itself; it uses git submodules to pull in the upstream Clang and LLVM tree, as well as the WASI reference-sysroot tree.

The Sysroot portion of this SDK is the WASI reference-sysroot.

Upstream Clang and LLVM 8.0 can compile for WASI out of the box, and WebAssembly support is included in them by default. So, all that's done here is to provide builds configured to set the default target and sysroot for convenience.

One could also use a standard Clang 8.0, build a sysroot from the sources mentioned above, and compile with "--target=wasm32-unknown-wasi --sysroot=/path/to/sysroot".