Stream: git-wasmtime

Topic: wasmtime / PR #13313 Fix an off-by one assertion in Wasmtime


view this post on Zulip Wasmtime GitHub notifications bot (May 07 2026 at 00:23):

alexcrichton opened PR #13313 from alexcrichton:minor-fix to bytecodealliance:main:

When switching off a fiber in Wasmtime there's a guard check to ensure that the CallThreadState is no longer present on the stack that we're switching from. This assertion has an off-by-one that's technically unreachable in practice but the check is still incorrect. Use a slightly more idiomatic check to resolve this very minor issue.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (May 07 2026 at 00:23):

alexcrichton requested pchickey for a review on PR #13313.

view this post on Zulip Wasmtime GitHub notifications bot (May 07 2026 at 00:23):

alexcrichton requested wasmtime-core-reviewers for a review on PR #13313.

view this post on Zulip Wasmtime GitHub notifications bot (May 07 2026 at 05:46):

github-actions[bot] added the label wasmtime:api on PR #13313.

view this post on Zulip Wasmtime GitHub notifications bot (May 07 2026 at 09:43):

:thumbs_up: pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (May 07 2026 at 14:28):

alexcrichton added PR #13313 Fix an off-by one assertion in Wasmtime to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (May 07 2026 at 14:48):

github-merge-queue[bot] removed PR #13313 Fix an off-by one assertion in Wasmtime from the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (May 07 2026 at 14:56):

alexcrichton added PR #13313 Fix an off-by one assertion in Wasmtime to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (May 07 2026 at 15:22):

:check: alexcrichton merged PR #13313.

view this post on Zulip Wasmtime GitHub notifications bot (May 07 2026 at 15:22):

alexcrichton removed PR #13313 Fix an off-by one assertion in Wasmtime from the merge queue.


Last updated: Jun 01 2026 at 09:49 UTC