Skip to content

Accept either POSIX or Linux behavior in pwrite-with-append.c#125

Merged
wingo merged 1 commit intoWebAssembly:mainfrom
alexcrichton:update-pwrite-with-append
Sep 22, 2025
Merged

Accept either POSIX or Linux behavior in pwrite-with-append.c#125
wingo merged 1 commit intoWebAssembly:mainfrom
alexcrichton:update-pwrite-with-append

Conversation

@alexcrichton
Copy link
Copy Markdown
Collaborator

WASIp1 does not specify which is correct, so accept either which runtimes. There is no current consensus amongst runtimes which is correct.

WASIp1 does not specify which is correct, so accept either which
runtimes. There is no current consensus amongst runtimes which is
correct.
@wingo
Copy link
Copy Markdown
Collaborator

wingo commented Aug 29, 2025

Related to #111; I thought there was a consensus emerging for one or the other? Dunno tho.

@alexcrichton
Copy link
Copy Markdown
Collaborator Author

Ah yes true, my faulty memory already forgot about that... I'm happy to go either way here but wanted to have a PR on-record for something concrete. Given the amount of conditionals already in the test suite for WASIp1 I'd lean towards "allow both" myself at this point.

@wingo wingo merged commit d4383b4 into WebAssembly:main Sep 22, 2025
14 checks passed
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