rocket_wasm icon indicating copy to clipboard operation
rocket_wasm copied to clipboard

[Win10][rustup version is 1.16.0] the `wasm32-unknown-unknown` target may not be installed

Open Itanq opened this issue 5 years ago • 0 comments

Hi @aochagavia , I have already follow the steps on the hellorust website in order to set up everything. But when I run following command:

cargo build --release --target wasm32-unknown-unknown

I get a error as following:

PS D:\Test\Rust\rocket_wasm> rustup target add wasm32-unknown-unknown --toolchain nightly info: component 'rust-std' for target 'wasm32-unknown-unknown' is up to date PS D:\Test\Rust\rocket_wasm> cargo build --release --target wasm32-unknown-unknown Compiling libc v0.2.34 Compiling num-traits v0.1.40 Compiling lazy_static v1.0.0 Compiling synom v0.11.3 Compiling semver v0.6.0 error[E0463]: can't find crate for core| = note: thewasm32-unknown-unknown` target may not be installed

error: aborting due to previous error`

Can you help me to resolve the issue? thanks very much...

Itanq avatar Feb 27 '19 06:02 Itanq