alexcrichton opened PR #10877 from alexcrichton:update-memory-definition to bytecodealliance:main:
Powered by the previous commit this change updates the internal implementation details of
wasmtime::Memoryto avoid the need for the use ofStored. This means that converting from a Wasmtime-internal representation of a memory to an external representation of a memory is largely a noop and no longer requires an allocation. This is intended to be more useful in the future to use the public types more pervasively inside of Wasmtime itself, but for now this is mostly the scaffolding necessary for such a change.<!--
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 fitzgen for a review on PR #10877.
alexcrichton requested wasmtime-core-reviewers for a review on PR #10877.
alexcrichton commented on PR #10877:
This is next up in the list from https://github.com/bytecodealliance/wasmtime/pull/10870
fitzgen submitted PR review:
Very nice!
fitzgen submitted PR review.
fitzgen merged PR #10877.
Last updated: Dec 06 2025 at 06:05 UTC