You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
wit-component: support resource exports from adapters #1200
#1084 added support for resources to wit-component, but appears to only support exporting resources from the main module -- not from adapters. Given that wasm-tools component link represents all dynamic libraries as "adapters", and componentize-py uses that to create components, I'd like to add support for exporting resources from adapters.
I'm planning to start working on a PR tomorrow unless there are objections.
Just a quick update: I've implemented this, but I'm still adding tests to componentize-py to exercise it in all the ways I can think of. Once that's done and once I've added a test or two to wit-component itself, I'll open a PR.
Activity
alexcrichton commentedon Sep 14, 2023
Sounds good to me 👍
dicej commentedon Sep 25, 2023
Just a quick update: I've implemented this, but I'm still adding tests to
componentize-pyto exercise it in all the ways I can think of. Once that's done and once I've added a test or two towit-componentitself, I'll open a PR.add support for exporting resources from adapters
add support for exporting resources from adapters (#1226)