Skip to content

feat(wasi): convert wasi to posix error codes - #13625

Open
eduardomourar wants to merge 10 commits into
uutils:mainfrom
eduardomourar:feat/wasi-error-handling
Open

feat(wasi): convert wasi to posix error codes#13625
eduardomourar wants to merge 10 commits into
uutils:mainfrom
eduardomourar:feat/wasi-error-handling

Conversation

@eduardomourar

Copy link
Copy Markdown
Contributor

Continuation of #12653. Dealing with difference of error thrown in WASI Preview 2 and enabling the integration tests for that target.

@github-actions

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/date/date-locale-hour (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/misc/tty-eof (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/tail/retry (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/tail/symlink (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tail/tail-n0f (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/seq/seq-epipe is now passing!
Note: The gnu test tests/misc/write-errors was skipped on 'main' but is now failing.

@oech3

oech3 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Can we avoid introducing many code with match and cfg, and introduce a fn like process_wasi_err(e)?

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