Skip to content

Trim readdir implementation to what WASI needs - #14348

Merged
alexcrichton merged 5 commits into
bytecodealliance:mainfrom
alexcrichton:trim-readdir
Sep 16, 2026
Merged

alexcrichton merged 5 commits into
bytecodealliance:mainfrom
alexcrichton:trim-readdir

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

This commit trims down the implementation of reading directories in wasmtime_wasi::filesystem::primitives to what WASI needs, notably just the ability to get the file type and file name. This removes a number of layers of abstraction which would issue more syscalls than necessary for this particular use case.

This commit trims down the implementation of reading directories in
`wasmtime_wasi::filesystem::primitives` to what WASI needs, notably just
the ability to get the file type and file name. This removes a number of
layers of abstraction which would issue more syscalls than necessary for
this particular use case.
@alexcrichton
alexcrichton marked this pull request as ready for review September 16, 2026 17:22
@alexcrichton
alexcrichton requested a review from a team as a code owner September 16, 2026 17:22
@alexcrichton
alexcrichton requested review from dicej and removed request for a team September 16, 2026 17:22
@alexcrichton
alexcrichton added this pull request to the merge queue Sep 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 16, 2026
@alexcrichton
alexcrichton added this pull request to the merge queue Sep 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 16, 2026
@alexcrichton
alexcrichton added this pull request to the merge queue Sep 16, 2026
Merged via the queue into bytecodealliance:main with commit a588c41 Sep 16, 2026
54 checks passed
@alexcrichton
alexcrichton deleted the trim-readdir branch September 16, 2026 20:57
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