alexcrichton opened PR #11557 from alexcrichton:no-unwrap-const-eval to bytecodealliance:main:
While all const expressions executed at runtime are valid they can still fail due to GC OOM or failure to allocate more GC memory. As a result all
unwrap()oneval(...)is removed in favor of propagating upwards the result.Closes #11469
<!--
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 pchickey for a review on PR #11557.
alexcrichton requested wasmtime-core-reviewers for a review on PR #11557.
fitzgen submitted PR review:
Thanks!
fitzgen merged PR #11557.
Last updated: Dec 06 2025 at 07:03 UTC