Skip to content

Make compatible with WASI #4497

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

Merged
merged 1 commit into from
Jul 14, 2025
Merged

Make compatible with WASI #4497

merged 1 commit into from
Jul 14, 2025

Conversation

whitequark
Copy link
Contributor

WASI is a POSIX subset that doesn't have dup, dup2, or pipe system calls.

Fixes #4496.

It is not completely clear to me that this is the right fix, nor is it clear to me why fmt needs these syscalls in first place. But it seems to fix the build.

WASI is a POSIX subset that doesn't have `dup`, `dup2`, or `pipe` system calls.

Fixes fmtlib#4496.
@vitaut vitaut merged commit 553ec11 into fmtlib:master Jul 14, 2025
41 checks passed
@vitaut
Copy link
Contributor

vitaut commented Jul 14, 2025

Merged, thanks!

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.

Does not build on WebAssembly WASI due to lack of dup, dup2, and pipe system calls
2 participants