Stream: git-wasmtime

Topic: wasmtime / PR #14873 Rework the `named_imports` lookup in...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 19 2026 at 22:25):

jrandolf opened PR #14873 from jrandolf:named-imports-lookup-api to bytecodealliance:main:

This builds on #14867, so only the last two commits are new here.

It reworks the named_imports lookup that bindgen! generates:

wasmtime-wasi's and wasmtime-wasi-http's add_named_to_linker functions take the same lookup, with the Interface as an extra first argument. This is a breaking change, but these APIs only matter with implements, which is unstable and off by default.

Tracing for labelled imports without named_imports still looks the same for every label. Those all go through the one shared add_to_linker_instance, which doesn't know the name, and changing that would touch every generated interface.

#14872 changes the same generated add_to_linker loop, so whichever lands second will need a rebase.

Closes #14860


Last updated: Oct 31 2026 at 23:03 UTC