Skip to content
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

wasi: add FileTable.PreopenFD method #74

Merged
merged 1 commit into from
Jun 27, 2023
Merged

wasi: add FileTable.PreopenFD method #74

merged 1 commit into from
Jun 27, 2023

Conversation

achille-roussel
Copy link
Contributor

This PR adds a method to wasi.FileTable to support declaring an open file descriptor as a preopen. This is useful when performing initialization of the wasi.System prior to instantiating a module, and the host needs to configure the file descriptors it created as preopens.

@achille-roussel achille-roussel merged commit fa34bc0 into main Jun 27, 2023
2 checks passed
@achille-roussel achille-roussel deleted the PreopenFD branch June 27, 2023 05:34
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