alexcrichton requested wasmtime-wasi-reviewers for a review on PR #11377.
alexcrichton opened PR #11377 from alexcrichton:refactor-wasi-clocks to bytecodealliance:main:
This is an implementation of #11362 but for the
wasi:clocksimplementation of WASIp2. The goal here is to have the impls be implemented and look roughly the same across WASIp2 and WASIp3, namely the target of the implementation of nowWasiClocksCtxViewinstead ofWasiCtxView. This makes the trait implementations a bit more flexible as it means embedders aren't required to, for example, provide a full WASI context for clocks but just clock-related context.<!--
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 ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
pchickey submitted PR review.
alexcrichton updated PR #11377.
alexcrichton has enabled auto merge for PR #11377.
alexcrichton merged PR #11377.
Last updated: Dec 06 2025 at 07:03 UTC