Stream: git-wasmtime

Topic: wasmtime / PR #12427 Check may-leave flags in trampolines...


view this post on Zulip Wasmtime GitHub notifications bot (Jan 25 2026 at 03:09):

alexcrichton opened PR #12427 from alexcrichton:fixup-and-check-may-leave to bytecodealliance:main:

This commit moves all may-leave flag handling into compiled trampolines rather than doing this in Rust. This means it can't be forgotten on the Rust side of things and will be slightly more efficient to boot. This then additionally exempts some intrinsics from checking may-leave since Wasmtime erroneously checked when it shouldn't have.

Closes #12397
Closes #12403

<!--
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 (Jan 25 2026 at 03:09):

alexcrichton commented on PR #12427:

This is a draft for now because the new tests I added are failing (some intrinsics aren't supporting being called in post-return for example) and I need to bottom that out.

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

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


Last updated: Jan 29 2026 at 13:25 UTC