Skip to content

wit-component: support resource exports from adapters #1200

Closed

Description

@dicej

#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.

Activity

  1. alexcrichton commented on Sep 14, 2023

    @alexcrichton
    Member

    Sounds good to me 👍

  2. dicej commented on Sep 25, 2023

    @dicej
    CollaboratorAuthor

    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.

  3. added a commit that references this issue on Sep 28, 2023
    1b82fa9
  4. added a commit that references this issue on Sep 29, 2023
    4f61ab8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions