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
[3.11] gh-95174: Handle missing dup() and constants in WASI (GH-95229) (GH-95272) #95272
Conversation
|
Looks like a large-ish change. @pablogsal, you press the green button. |
|
If you want to schedule another build, you need to add the " |
|
@pablogsal are you ok with this changeset? It only affects wasm32-wasi builds. The two test failures are unrelated. |
…thonGH-95229) - check for ``dup()`` libc function - handle missing ``F_DUPFD`` in ``dup2()`` replacement function - add workaround for WASI libc bug in MSG_TRUNC - ESHUTDOWN is missing, use EPIPE instead - POLLPRI is missing, define as 0 (no-op). (cherry picked from commit 0d35a59) Co-authored-by: Christian Heimes <christian@python.org>
|
Rebased on latest 3.11, fixed a conflict in auto-generated files. |
dup()libc functionF_DUPFDindup2()replacement function(cherry picked from commit 0d35a59)
Co-authored-by: Christian Heimes christian@python.org