Skip to content

Wasm-Thin-Kernel-Interfaces/wali-musl-libc

Repository files navigation

Webassembly Linux Interface (Musl Libc)

This repo contains exploratory work towards creating a standard Linux syscall API for Webassembly. We build off of the base code of musl libc

Refer to the parent WALI repository on a complete overview of using and testing WALI

NOTE: We currently support x86-64, aarch64, and riscv64 architectures. Future work will expand support

Prerequisites

  • Custom clang is required for WALI compilation. Build llvm as shown in parent WALI directory, and add the bin directory to your PATH.

  • Webassembly Binary Toolkit

Building wali libc

The Makefile in parent WALI allows building this with a simple make libc command. Under the hood, this makefile generates the appropriate config.mak and build flags If the WALI compiler is installed independently, substitute appropriate variables into config.mak for your use-case

Unsupported libc features

  • timer_create; must figure out SIGEV_SIGNAL notification

About

Libc for the WebAssembly Linux Interface

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 94.2%
  • Assembly 3.9%
  • C++ 1.2%
  • Awk 0.4%
  • Makefile 0.2%
  • Shell 0.1%