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

Failed to link components. #109

Open
tqq1994516 opened this issue Dec 9, 2024 · 3 comments
Open

Failed to link components. #109

tqq1994516 opened this issue Dec 9, 2024 · 3 comments

Comments

@tqq1994516
Copy link

tqq1994516 commented Dec 9, 2024

I got an error when I tried to execute wasi-virt build/pong_s.wasm --allow-random -e PONG=demo -o virt.wasm the virtualization components with reference to the documentation.

(base) root@PF2S3J70:~/wasmCloud/examples/rust/composition/pong# wasi-virt build/pong_s.wasm --allow-random -e PONG=demo -o virt.wasm
Error: Unable to compose virtualized adapter into component.
Make sure virtualizations are enabled and being used.

Caused by:
    no dependencies of component `build/pong_s.wasm` were found
@guybedford
Copy link
Collaborator

WASI Virt is currently only supporting [email protected], so this may be due to using a newer version.

I've posted a tracking issue in #110 to address this further.

@tqq1994516
Copy link
Author

tqq1994516 commented Dec 10, 2024

@guybedford Excuse me. Are there any ways for me to use it quickly now?

@guybedford
Copy link
Collaborator

If you're able to use an older toolchain to generate [email protected] components, then you could try it, otherwise I think you are blocked on the upgrade tracked in #110.

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

2 participants