Skip to content

Cannot add dependency to a component with an inline interface or function export #12

@mikkelhegn

Description

@mikkelhegn

If I write a WIT file using an inline interface: https://component-model.bytecodealliance.org/design/wit.html#inline-interfaces or in-lining a function (like this example: https://component-model.bytecodealliance.org/language-support/javascript.html#overview-of-building-a-component-with-javascript), I'm not able to import that component as a dependency.

The component was written in JavaScript and compiled using jco.

In the first case: Inline interface. spin deps add finds the world, but the list of interfaces to choose from is empty.

In the second case: Inline function. spin desp add does not find the interface (I'd assume because there is none :-))

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