]> git.proxmox.com Git - wasi-libc.git/blame - libc-bottom-half/README
WASI libc prototype implementation.
[wasi-libc.git] / libc-bottom-half / README
CommitLineData
320054e8
DG
1"WASI" the WebAssembly System Interface.
2
3WASI libc is conceptually the lower half of a traditional libc implementation.
4It provides C interfaces to the low-level WASI syscalls.
5
6This is largely based on [CloudABI], [cloudlibc], and [libpreopen], however we
7use just the low-level syscall wrappers rather than all of cloudlibc and
8libpreopen, and we have several customizations for use in a WebAssembly sysroot.
9
10[CloudABI]: https://github.com/NuxiNL/cloudabi
11[cloudlibc]: https://github.com/NuxiNL/cloudlibc
12[libpreopen]: https://github.com/musec/libpreopen
13
14The upstream repositories and versions used here are:
15
16cloudlibc - https://github.com/NuxiNL/cloudlibc 92cb7670f864adc625c24eb214ff1c6d888adf6b
17libpreopen - https://github.com/musec/libpreopen 8265fc50b9db3730c250597bdd084f1e728f3e48
18
19Whole files which are unused are omitted. Changes to upstream code are wrapped
20in preprocessor directives controlled by the macro `__wasilibc_unmodified_upstream`,
21except that CloudABI names have also been renamed to WASI names without annotations.
22
23WASI libc currently depends on the basics and dlmalloc components of reference-sysroot.