From 726da196b2aa1c776203fa87b3337051a7ca3299 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 19 Mar 2019 15:48:03 -0700 Subject: [PATCH] Add a basic README.md. --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..3d30624 --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# WASI SDK + +## Quick Start + +[Download SDK packages here.](https://github.com/CraneStation/wasi-sdk/releases) + +## 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](https://github.com/CraneStation/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".