Skip to content

[wasm] Add O_NONBLOCK shim #1235

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

Conversation

kateinoigakukun
Copy link
Member

0597595 added a use of O_NONBLOCK but the constant cannot be imported from wasi-libc through ClangImporter directly, so we need to add a shim for it as well as other constants.

0597595 added a use of `O_NONBLOCK` but
the constant cannot be imported from wasi-libc through ClangImporter
directly, so we need to add a shim for it as well as other constants.
@kateinoigakukun
Copy link
Member Author

@swift-ci test

@parkera parkera merged commit 320c583 into swiftlang:main Mar 31, 2025
3 checks passed
@parkera
Copy link
Contributor

parkera commented Mar 31, 2025

Thanks!

theMomax pushed a commit that referenced this pull request Apr 10, 2025
0597595 added a use of `O_NONBLOCK` but
the constant cannot be imported from wasi-libc through ClangImporter
directly, so we need to add a shim for it as well as other constants.
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 this pull request may close these issues.

2 participants