alexcrichton opened PR #14348 from alexcrichton:trim-readdir to bytecodealliance:main:
This commit trims down the implementation of reading directories in
wasmtime_wasi::filesystem::primitivesto 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.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton has marked PR #14348 as ready for review.
alexcrichton requested dicej for a review on PR #14348.
alexcrichton requested wasmtime-wasi-reviewers for a review on PR #14348.
:thumbs_up: dicej submitted PR review.
alexcrichton added PR #14348 Trim readdir implementation to what WASI needs to the merge queue.
github-merge-queue[bot] removed PR #14348 Trim readdir implementation to what WASI needs from the merge queue.
alexcrichton updated PR #14348.
alexcrichton has enabled auto merge for PR #14348.
alexcrichton updated PR #14348.
alexcrichton added PR #14348 Trim readdir implementation to what WASI needs to the merge queue.
github-merge-queue[bot] removed PR #14348 Trim readdir implementation to what WASI needs from the merge queue.
alexcrichton updated PR #14348.
alexcrichton has enabled auto merge for PR #14348.
alexcrichton added PR #14348 Trim readdir implementation to what WASI needs to the merge queue.
:check: alexcrichton merged PR #14348.
alexcrichton removed PR #14348 Trim readdir implementation to what WASI needs from the merge queue.
Last updated: Sep 20 2026 at 18:08 UTC