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

Rework WasiFs to use a "holey" FdList instead of hashmap + seed + fre… #4997

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Arshia001
Copy link
Member

…ed_fds

This PR implements Vec<Option<Fd>>-based FD management.

Note: I haven't extensively tested the code yet, so the PR is in draft status. I'm creating it so we can all review and discuss the implementation.

@Arshia001 Arshia001 self-assigned this Aug 8, 2024
@Arshia001 Arshia001 marked this pull request as ready for review August 13, 2024 10:34
lib/wasix/src/fs/fd_list.rs Outdated Show resolved Hide resolved
lib/wasix/src/fs/fd_list.rs Outdated Show resolved Hide resolved
lib/wasix/src/fs/fd_list.rs Outdated Show resolved Hide resolved
lib/wasix/src/fs/fd_list.rs Outdated Show resolved Hide resolved
@syrusakbary syrusakbary mentioned this pull request Aug 27, 2024
@syrusakbary
Copy link
Member

syrusakbary commented Sep 5, 2024

Waiting on @theduke to provide context on one test on Edge that failed on this PR, so we can move forward.

Edit: context provided in Linear

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.

3 participants