Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libc based on musl? #176

Closed
lachlansneff opened this issue Dec 5, 2018 · 4 comments
Closed

Libc based on musl? #176

lachlansneff opened this issue Dec 5, 2018 · 4 comments

Comments

@lachlansneff
Copy link

To avoid having to reimplement the entirety of libc for the reference-sysroot, I propose we take the environment-agnostic parts of musl and move them here. Musl is licensed under MIT.

@pchickey
Copy link
Collaborator

pchickey commented Dec 5, 2018

We (fastly) have implemented some of the things needed to hook musl up to our webassembly runtime. Another one is at https://github.com/jfbastien/musl.

We are planning to open source our stuff Real Soon Now and I will see if I can give you the source to just the musl stuff if you want to look at how we did it.

@sunfishcode
Copy link
Member

We now have a musl-derived libc port here: WebAssembly/wasi-libc-old#11

@pchickey
Copy link
Collaborator

and as an update to the above, we ditched our implementation in favor of WASI, and are open sourcing tomorrow.

@sunfishcode
Copy link
Member

This is now implemented!

@sunfishcode sunfishcode transferred this issue from WebAssembly/wasi-libc-old Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants