Stream: git-wasmtime

Topic: wasmtime / PR #5777 Improve type imports into components


view this post on Zulip Wasmtime GitHub notifications bot (Feb 14 2023 at 15:50):

alexcrichton opened PR #5777 from fix-component-import-types to main:

This commit fixes a panic related to type imports where an import of a type didn't correctly declare the new type index on the Wasmtime side of things. Additionally this plumbs more support throughout Wasmtime to support type imports, namely that they do not need to be supplied through a Linker. This additionally implements a feature where empty instances, even transitively, do not need to be supplied by a Wasmtime embedder. This means that instances which only have types, for example, do not need to be supplied into a Linker since no runtime information for them is required anyway.

Closes #5775

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Feb 14 2023 at 18:00):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 14 2023 at 18:02):

alexcrichton merged PR #5777.


Last updated: Nov 22 2024 at 16:03 UTC