Stream: git-wasmtime

Topic: wasmtime / PR #15099 Remove `HeapType::ConcreteExn` from ...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 21:42):

alexcrichton opened PR #15099 from alexcrichton:remove-concrete-exn-in-api to bytecodealliance:main:

This commit removes the ConcreteExn variant from the public API of Wasmtime and its HeapType enum. I brought this up earlier in #14011 which was closed, but I'd like to push on this again at least from the angle of the public API of Wasmtime. Specifically this fixes a possible unusual situation where:

There's no panic/etc here and this is just a weird situation, but this exposes a part of exposing ConcreteExn in the public API which is that it affects not just what's read from WebAssembly but what's also passed back in from the host. For example creating a GC struct type with concrete exception types doesn't really make sense, but it's possible with today's embedder API.

This change is not as invasive as #14011 and only limits the public API surface area of Wasmtime. The goal is to have the public API faithfully reflect wasm's type system to avoid introducing our own abstractions and having to reconcile that.

<!--
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 review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.md

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 (Oct 30 2026 at 21:42):

alexcrichton requested cfallin for a review on PR #15099.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 21:42):

alexcrichton removed the review request for wasmtime-core-reviewers from PR #15099.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 21:42):

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

view this post on Zulip Wasmtime GitHub notifications bot (Oct 30 2026 at 21:47):

alexcrichton updated PR #15099.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 31 2026 at 00:49):

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

view this post on Zulip Wasmtime GitHub notifications bot (Oct 31 2026 at 00:49):

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

view this post on Zulip Wasmtime GitHub notifications bot (Oct 31 2026 at 00:49):

github-actions[bot] added the label wasmtime:ref-types on PR #15099.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 31 2026 at 01:45):

github-actions[bot] commented on PR #15099:

Subscribe to Label Action

cc @fitzgen

<details>
This issue or pull request has been labeled: "wasmtime:api", "wasmtime:c-api", "wasmtime:ref-types"

Thus the following users have been cc'd because of the following labels:

To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.

Learn more.
</details>


Last updated: Oct 31 2026 at 23:03 UTC