alexcrichton opened PR #12967 from alexcrichton:fix-compiling-contref-and-gc to bytecodealliance:main:
Internally Wasmtime's translation to CLIF would panic in a few places instead of returning a first-class error. This commit fixes things to ensure that when this situation is encountered an error is returned instead of a panic.
<!--
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 #12967.
alexcrichton requested wasmtime-compiler-reviewers for a review on PR #12967.
alexcrichton requested wasmtime-core-reviewers for a review on PR #12967.
fitzgen submitted PR review.
fitzgen added PR #12967 Fix compiling stack-switching with GC to the merge queue.
github-merge-queue[bot] removed PR #12967 Fix compiling stack-switching with GC from the merge queue.
alexcrichton updated PR #12967.
alexcrichton has enabled auto merge for PR #12967.
alexcrichton added PR #12967 Fix compiling stack-switching with GC to the merge queue.
github-merge-queue[bot] removed PR #12967 Fix compiling stack-switching with GC from the merge queue.
alexcrichton updated PR #12967.
alexcrichton has enabled auto merge for PR #12967.
alexcrichton added PR #12967 Fix compiling stack-switching with GC to the merge queue.
github-merge-queue[bot] removed PR #12967 Fix compiling stack-switching with GC from the merge queue.
alexcrichton added PR #12967 Fix compiling stack-switching with GC to the merge queue.
alexcrichton merged PR #12967.
alexcrichton removed PR #12967 Fix compiling stack-switching with GC from the merge queue.
Last updated: Apr 13 2026 at 00:25 UTC