Stream: git-wasmtime

Topic: wasmtime / PR #13874 Plumb external-id on component impor...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 13 2026 at 23:20):

ricochet opened PR #13874 from ricochet:worktree-external-id to bytecodealliance:main:

This plumbs (external-id "...") annotation added in wasm-tools through Wasmtime's type reflection, mirroring implements. The annotation is a free-form host-defined identifier which is ignored by type checking and is intended to tell the host how to satisfy an import (or interpret an export), e.g. distinguishing two imports of the same interface by a platform-native resource id.

The field is added to ComponentExternData in wasmtime-environ and populated from wasmparser in both the type-conversion and nested instance exports, including func- and type-level annotations.

wasmparser validates (external-id) behind the same cm-implements gate as (implements), so Config::wasm_component_model_implements(true) enables both.

Note that adding a public field to ComponentExtern is a breaking change for any embedder constructing or exhaustively destructuring it.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 13 2026 at 23:20):

ricochet requested dicej for a review on PR #13874.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 13 2026 at 23:20):

ricochet requested wasmtime-core-reviewers for a review on PR #13874.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 13 2026 at 23:44):

:thumbs_up: alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 13 2026 at 23:44):

:speech_balloon: alexcrichton created PR review comment:

Oh oops I forgot to fill this in from last time, mind filling this and the above TODO out?

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2026 at 00:13):

:memo: ricochet submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2026 at 00:13):

:speech_balloon: ricochet created PR review comment:

yep np. I wasn't sure if it was intentional or not

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2026 at 00:22):

ricochet updated PR #13874.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2026 at 02:33):

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

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

alexcrichton added PR #13874 Plumb external-id on component import/export to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2026 at 14:47):

github-merge-queue[bot] removed PR #13874 Plumb external-id on component import/export from the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2026 at 16:09):

alexcrichton added PR #13874 Plumb external-id on component import/export to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2026 at 16:33):

github-merge-queue[bot] removed PR #13874 Plumb external-id on component import/export from the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2026 at 16:41):

alexcrichton added PR #13874 Plumb external-id on component import/export to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2026 at 17:06):

github-merge-queue[bot] removed PR #13874 Plumb external-id on component import/export from the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2026 at 18:35):

alexcrichton added PR #13874 Plumb external-id on component import/export to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2026 at 19:43):

:check: alexcrichton merged PR #13874.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 14 2026 at 19:43):

alexcrichton removed PR #13874 Plumb external-id on component import/export from the merge queue.


Last updated: Jul 29 2026 at 05:03 UTC