Stream: git-wasmtime

Topic: wasmtime / PR #14920 [DO NOT REVIEW] Support named import...


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

jrandolf opened PR #14920 from jrandolf:wasi-tls-named-imports to bytecodealliance:main:

Components importing wasi:tls interfaces under a label couldn't be linked with wasmtime-wasi-tls. This adds add_named_to_linker to both p2 and p3, following the named-import support in wasmtime-wasi (#14275).

Most of the diff is in p3: send, receive and connect use Access/Accessor, whose getters can't close over a NamedId. So their bodies move into functions that are generic over the getter, and the named and unnamed implementations share them.

Part of #14858

<details>
<summary>LLM summary of the changes</summary>

API

Implementation

Interaction with #14873

#14873 changes the signature of the add_named_to_linker lookup. Whichever of the two lands second needs to port these functions, which is mechanical.

Tests

</details>

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

jrandolf commented on PR #14920:

Closing: nobody needs labelled wasi:tls imports yet, and wasi:tls isn't part of a WASI release. Happy to revisit if someone asks.

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

:cross_mark: jrandolf closed without merge PR #14920.


Last updated: Oct 31 2026 at 23:03 UTC