Closed bluesunrise closed 1 year ago
Thanks for reporting this and sorry you've not had a smooth ride. Could you double check that you have the Rust wasm32-wasi
target installed please?
$ rustup target list --installed
wasm32-wasi # should have this
x86_64-unknown-linux-gnu # yours will be Mac of course!
If not, could you try installing it via rustup target add wasm32-wasi
please, and let us know if that helps? Thanks!
If that was the problem, our apologies. We're reworking that page at the moment to hopefully call out these dependencies clearly!
Think I found the problem, I needed another step:
rustup target add wasm32-wasi
That seemed to fix it
You may want to add that command to the Getting Started doc here: (https://developer.fermyon.com/cloud/develop)
The Spin Getting Started doc has it here:
https://developer.fermyon.com/spin/quickstart
Feel free to close the issue
Hi @itowlson --- just saw your comment: right on, thank you!
Great, glad to hear that's resolved!
I was following the tutorial here:
(https://developer.fermyon.com/cloud/develop)
After creating the hello_rust example, when I run:
I see lots of compile errors like:
Frequency of the bug Please check one:
Set-up information Please share the version of Spin used when the bug occurred. You can find the version of Spin by running
spin -V
.To Reproduce Steps to reproduce the behavior:
Expected behavior I expected not to get syntax errors when building
Screenshots If applicable, add screenshots to help explain your problem. (Remember to remove any personally-identifiable information.)
Additional context Add any other context about the problem here.