Stream: git-wasmtime

Topic: wasmtime / PR #12718 Fix the current guest task when call...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 04 2026 at 19:07):

alexcrichton opened PR #12718 from alexcrichton:fix-current-task-in-realloc to bytecodealliance:main:

This commit fixes some fallout from #12550 where after that PR the current task registered when a guest's realloc was called was incorrect. This additionally fixes issues where guest-to-guest trampolines also had the wrong task registered when realloc was being called. Finally this adjusts a few locations that "no borrows should be active" traps happen to ensure that it happens around the time of when a task returns rather than after the lowering of its values happens.

<!--
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 (Mar 04 2026 at 19:07):

alexcrichton requested cfallin for a review on PR #12718.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 04 2026 at 19:07):

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

view this post on Zulip Wasmtime GitHub notifications bot (Mar 04 2026 at 19:08):

alexcrichton requested dicej for a review on PR #12718.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 04 2026 at 19:08):

alexcrichton unassigned cfallin from PR #12718 Fix the current guest task when calling realloc.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 04 2026 at 19:41):

dicej submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 04 2026 at 21:00):

alexcrichton updated PR #12718.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 04 2026 at 21:00):

alexcrichton has enabled auto merge for PR #12718.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 04 2026 at 21:14):

alexcrichton added PR #12718 Fix the current guest task when calling realloc to the merge queue

view this post on Zulip Wasmtime GitHub notifications bot (Mar 04 2026 at 21:37):

alexcrichton merged PR #12718.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 04 2026 at 21:37):

alexcrichton removed PR #12718 Fix the current guest task when calling realloc from the merge queue


Last updated: Mar 23 2026 at 16:19 UTC