fitzgen opened PR #10541 from fitzgen:small-func-environ-refactorings to bytecodealliance:main:
Stop returning a
WasmResultfrom the bounds-checking code; it is actually infallible and we were just plumbing around results for no reason.Split out a few small helper methods from
FuncEnvironment::make_heap. This allows for reusing them in https://github.com/bytecodealliance/wasmtime/pull/10503Split off from https://github.com/bytecodealliance/wasmtime/pull/10503
<!--
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
-->
fitzgen requested alexcrichton for a review on PR #10541.
fitzgen requested wasmtime-core-reviewers for a review on PR #10541.
alexcrichton submitted PR review.
fitzgen merged PR #10541.
Last updated: Dec 06 2025 at 06:05 UTC