# WASI SDK

WASI-enabled WebAssembly C/C++ toolchain

Repository: https://github.com/WebAssembly/wasi-sdk
Canonical: https://ross.abutalabs.com/products/wasi-sdk
Language: CMake
License: Apache-2.0
License Family: permissive
Topics: wasi-sdk, llvm, wasi-libc, sysroot
Last push: 2026-08-24T19:52:50+00:00
Link (homepage): https://wasi.dev
Link (site_page): https://wasi.dev/releases
Link (site_page): https://wasi.dev/releases/wasi-p3

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 2737, "days_push": 9, "days_rel": 9, "gap_med": 44, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1628, forks 236 (observed 2026-08-28T04:05:13.258039+00:00)

## What it is
WASI SDK is a WebAssembly C/C++ toolchain that bundles upstream Clang/LLVM with the wasi-libc sysroot, configured to target wasm32-wasi out of the box. It provides prebuilt SDK packages and CMake-based build scripts so developers can compile C and C++ code to WebAssembly that runs on WASI runtimes like Wasmtime.

## Use cases
- compile c/c++ to webassembly
- build wasm binaries targeting wasi
- set up a clang toolchain with wasi-libc sysroot
- cross-compile native libraries to wasm32-wasi
- build portable sandboxed components from c++ code
- produce webassembly modules for wasmtime

## When to choose
- you need to compile C or C++ source to WebAssembly with WASI system interfaces
- you want a prebuilt, ready-to-use Clang + sysroot instead of assembling one manually
- you're building portable plugins or serverless functions in C/C++ that run on WASI runtimes

## When to avoid
- you're compiling Rust, Go, or other languages with their own WASI toolchains
- you only need to run WebAssembly, not compile to it
- you need browser-targeted WebAssembly without WASI APIs

## Facets
- artifact type: library
- maturity: active
- function: compiler, build-tool, developer-tools, sdk
- domain: compilers, developer-tools, cross-platform
- platform: wasm, windows, cli
- tags: wasi, webassembly, llvm, clang, wasi-libc, sysroot, cmake, c-cpp-toolchain, linux, macos

## Member repositories
- WebAssembly/wasi-sdk (main) score 95
- WebAssembly/wasi-libc (backend) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:13.258039+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:48:18.568223+00:00, confidence not recorded.
  - readme: https://github.com/WebAssembly/wasi-sdk (fetched 2026-08-28T04:05:13.258039+00:00, sha 3a59ff01408e)
  - homepage: https://wasi.dev (fetched 2026-08-29T11:20:51.279491+00:00, sha 275e2d2ba1f0)
  - site_page: https://wasi.dev/releases (fetched 2026-08-29T11:20:51.288340+00:00, sha d071acda792a)
  - site_page: https://wasi.dev/releases/wasi-p3 (fetched 2026-08-29T11:20:51.290729+00:00, sha 007a2003b37d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
