Skip to content

Reorder results of fd_permissions_set in ephemeral#216

Closed
ueno wants to merge 1 commit into
WebAssembly:masterfrom
ueno:wip/dueno/permissions-set-errno
Closed

Reorder results of fd_permissions_set in ephemeral#216
ueno wants to merge 1 commit into
WebAssembly:masterfrom
ueno:wip/dueno/permissions-set-errno

Conversation

@ueno

@ueno ueno commented Jan 30, 2020

Copy link
Copy Markdown

I tried to feed the current ephemeral witx files to the generate-raw tool and noticed a minor inconsistency. Unlike other interface functions, permissions_set in wasi_ephemeral_fd.witx returns error as the second result, which is not supported by the tool:
https://github.com/bytecodealliance/wasi/blob/master/crates/generate-raw/src/lib.rs#L280

Might it make sense to change the order to be consistent with the other part of the proposal?

@cjihrig

cjihrig commented Jan 30, 2020

Copy link
Copy Markdown
Contributor

I think the issue is that this is supposed to be an input parameter. See #213

@ueno

ueno commented Jan 30, 2020

Copy link
Copy Markdown
Author

Ah, indeed. Thank you!

@ueno ueno closed this Jan 30, 2020
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