alexcrichton opened PR #14246 from alexcrichton:start-to-trim-the-primitives to bytecodealliance:main:
This commit is an attempt to start trimming down the vendored
cap-primitivesimplementation with fewer layers of indirection and, ideally, more based onstd-defined types rather than redefining everything in this crate. This for now starts to remove some of the smaller modules that no longer serve much purpose and instead inline the implementations directly (orpub usethem). This additionally trims the reexports of theprimitivesmodule to onlypub(crate)-define items actually used bywasmtime-wasi. Internal helpers are now no longer exported from the module.<!--
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 #14246 as ready for review.
alexcrichton requested pchickey for a review on PR #14246.
alexcrichton requested wasmtime-wasi-reviewers for a review on PR #14246.
github-actions[bot] added the label wasi on PR #14246.
:thumbs_up: pchickey submitted PR review.
alexcrichton added PR #14246 Start to trim down filesystem::primitives to the merge queue
:check: alexcrichton merged PR #14246.
alexcrichton removed PR #14246 Start to trim down filesystem::primitives from the merge queue
Last updated: Sep 20 2026 at 18:08 UTC