Stream: git-wasmtime

Topic: wasmtime / issue #11683 generate precise traps in fused c...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 11 2025 at 15:00):

dicej opened issue #11683:

As of this writing, the fused adapter compiler in wasmtime-environ generates unreachable instructions to trap in various scenarios, e.g. when a component instance tries to call an import when that is disallowed. It also generates metadata to record the precise reason for the trap and stores that in fact::trampoline::Compiler::traps. However, that metadata isn't used anywhere, so at runtime the user always sees the generic "wasm \`unreachable\` instruction executed" message; the precise reason is no longer available. Consequently, we've had to temporarily fork a few spec tests which expect precise trap messages, replacing them with generic ones.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 11 2025 at 16:38):

fitzgen added the wasm-proposal:component-model label to Issue #11683.


Last updated: Dec 06 2025 at 07:03 UTC