Stream: git-wasmtime

Topic: wasmtime / issue #12397 check may-leave flag automaticall...


view this post on Zulip Wasmtime GitHub notifications bot (Jan 22 2026 at 23:21):

dicej opened issue #12397:

The component model async implementation contains a lot of intrinsic functions, each of which currently has hand-written code to check the may-leave flag and trap if it's unset. Instead, we should check this in e.g. ComponentInstance::enter_host_from_wasm so we don't have to do it manually for each intrinsic.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2026 at 02:36):

alexcrichton added the wasm-proposal:component-model label to Issue #12397.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2026 at 16:12):

dicej commented on issue #12397:

However, per https://github.com/bytecodealliance/wasmtime/issues/12403, not all intrinsics should check may-leave, so we'll still have to provide a way to enable or disable the check on a per-intrinsic basis.

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

alexcrichton assigned alexcrichton to issue #12397.


Last updated: Jan 29 2026 at 13:25 UTC