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

error: failed to find the wasm32-wasi target and rustup is not available #5

Open
silkroadnomad opened this issue Mar 2, 2024 · 4 comments

Comments

@silkroadnomad
Copy link

silkroadnomad commented Mar 2, 2024

When doing just all
I tried to resolve this error with rustup target add wasm32-wasi in the main project directory but doesn't seem to be the right place for it.

@DougAnderson444
Copy link
Contributor

You should be able to add wasm32-wasi target anywhere.

You should also have the unknown target for the wasm-bindgen code:

Add wasm32-unknown-unknown target: rustup target add wasm32-unknown-unknown

@DougAnderson444
Copy link
Contributor

weird that rustup is "not available". If you've installed rustup, it should be available anywhere in the CLI!

What OS are you using?

@silkroadnomad
Copy link
Author

I use MacOS. You Linux?

@DougAnderson444
Copy link
Contributor

Linux for me.

Did you get this to work?

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