Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mikkelhegn opened this issue Dec 12, 2024 · 0 comments

Comments

@mikkelhegn
Copy link
Member

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 :-))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant