Skip to content

syscall: report unsupported WASI chown/fchown/lchown - #5867

Open
jakebailey wants to merge 1 commit into
tinygo-org:devfrom
jakebailey:wasi-chown
Open

jakebailey wants to merge 1 commit into
tinygo-org:devfrom
jakebailey:wasi-chown

Conversation

@jakebailey

Copy link
Copy Markdown
Member

WASI can't do these, but trying to defer them to libc anyway broke the build when used instead of just doing ENOSYS like upstream Go. Fix that.

I don't know anything about the Nintendo DS, so, I just copied the old code for it 😄

WASI does not expose file ownership changes. Calling missing libc symbols
leaves unresolved imports and can prevent a whole program from starting.
Return ENOSYS as Go does instead of requiring host ownership functions.
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.

1 participant