alexcrichton requested fitzgen for a review on PR #12884.
alexcrichton requested wasmtime-core-reviewers for a review on PR #12884.
alexcrichton opened PR #12884 from alexcrichton:custom-page-sizes-big-memory to bytecodealliance:main:
This commit adjust what happens when a linear memory grows up to 4gb large when custom page sizes are used. This is an open question in the upstream proposal at WebAssembly/custom-page-sizes#45 but without any special handling a return value of -1 is ambiguous if it succeeded or failed. For now eagerly trap memory operations reaching these conditions while the upstream specification question is resolved.
<!--
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 updated PR #12884.
github-actions[bot] added the label wasmtime:api on PR #12884.
fitzgen submitted PR review.
fitzgen added PR #12884 Adjust behavior of 4gb memories with custom page sizes to the merge queue.
github-merge-queue[bot] removed PR #12884 Adjust behavior of 4gb memories with custom page sizes from the merge queue.
alexcrichton updated PR #12884.
alexcrichton updated PR #12884.
alexcrichton has enabled auto merge for PR #12884.
alexcrichton added PR #12884 Adjust behavior of 4gb memories with custom page sizes to the merge queue.
alexcrichton merged PR #12884.
alexcrichton removed PR #12884 Adjust behavior of 4gb memories with custom page sizes from the merge queue.
Last updated: Apr 12 2026 at 23:10 UTC