alexcrichton requested wasmtime-wasi-reviewers for a review on PR #12794.
alexcrichton opened PR #12794 from alexcrichton:update-randomness to bytecodealliance:main:
This updates the behavior of the randomness-generating interfaces in WASIp3 to account for recent spec changes, notably the ability for the guest to receive less random bytes than requested to limit allocations the host is forced to do.
<!--
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
-->
alexcrichton requested wasmtime-core-reviewers for a review on PR #12794.
alexcrichton requested pchickey for a review on PR #12794.
dicej submitted PR review.
alexcrichton has enabled auto merge for PR #12794.
alexcrichton added PR #12794 wasip3: Limit randomness instead of trapping to the merge queue.
alexcrichton removed PR #12794 wasip3: Limit randomness instead of trapping from the merge queue.
alexcrichton merged PR #12794.
Last updated: Mar 23 2026 at 16:19 UTC