Skip to content

Commit ae5ae4d

Browse files
committed
Explain why this doesn't have a full libc.
1 parent c9850bf commit ae5ae4d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,20 @@ To use the sysroot, use the `--sysroot=` option:
2929
```
3030

3131
to run the compiler using the newly built sysroot.
32+
33+
## Why doesn't this contain a full libc implementation?
34+
35+
In the short term, one of the main goals is just to provide a reference
36+
point for people already maintaining their own libc codebases, to help
37+
reduce interface incompatibilities between the several different
38+
environments out there.
39+
40+
In the long term, there may some day be some form of standardized
41+
syscall/import layer for wasm which would could support a full
42+
"reference libc", at which point this repository might make sense as
43+
a place to host such a thing.
44+
45+
In between, if there are specific pieces of libc functionality which
46+
people would find useful to have here, and which don't depend on any
47+
syscalls, we could add them, using code from existing third-party
48+
codebases as appropriate.

0 commit comments

Comments
 (0)