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

Add WASI module to use instead of Glibc #196

Closed
MaxDesiatov opened this issue Feb 18, 2020 · 1 comment
Closed

Add WASI module to use instead of Glibc #196

MaxDesiatov opened this issue Feb 18, 2020 · 1 comment

Comments

@MaxDesiatov
Copy link

MaxDesiatov commented Feb 18, 2020

Since glibc and musl behave slightly differently, we wouldn't want our WASI users to type import Glibc believing they are actually getting glibc behaviour. Makes much more sense to implement a new Musl module that can be imported and used accordingly on WASI. Linux could benefit from this as well.

I'm currently trying to implement this in my swift-alpine repository, but any help and feedback here on possible different approaches is welcome as usual.

This should unblock apple#29871.

@MaxDesiatov MaxDesiatov added the in progress The issue is currently being worked on label Feb 18, 2020
@MaxDesiatov MaxDesiatov self-assigned this Feb 18, 2020
@MaxDesiatov MaxDesiatov changed the title Add musl module to use instead of Glibc Add Musl module to use instead of Glibc Feb 18, 2020
@MaxDesiatov MaxDesiatov removed the in progress The issue is currently being worked on label Apr 19, 2020
@MaxDesiatov MaxDesiatov removed their assignment Apr 19, 2020
@MaxDesiatov MaxDesiatov changed the title Add Musl module to use instead of Glibc Add WASI module to use instead of Glibc Sep 3, 2020
@MaxDesiatov
Copy link
Author

Closing this as resolved in #1773 for swiftwasm-release/5.3 and in #1832 for swiftwasm.

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

Successfully merging a pull request may close this issue.

1 participant