Stream: git-wasmtime

Topic: wasmtime / PR #7050 Implement support for exported resour...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 15 2023 at 20:03):

alexcrichton opened PR #7050 from alexcrichton:exported-resources to bytecodealliance:main:

This commit updates the wasmtime::component::bindgen! to support exported resources. Exported resources are themselves always modeled as ResourceAny at runtime and are required to perform dynamic type checks to ensure that the right type of resource is passed in. Exported resources have their own GuestXXX structure exported to namespace all of their methods. Otherwise, like imports, there's not a whole lot of special treatment of exported resources.

<!--
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 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 (Sep 15 2023 at 20:03):

alexcrichton requested pchickey for a review on PR #7050.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 15 2023 at 20:03):

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

view this post on Zulip Wasmtime GitHub notifications bot (Sep 15 2023 at 20:52):

alexcrichton updated PR #7050.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 15 2023 at 21:38):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 15 2023 at 22:24):

alexcrichton merged PR #7050.


Last updated: Dec 23 2024 at 12:05 UTC