While executing : cargo +nightly install --git https://github.com/alexcrichton/wasm-gc --force
in Ubuntu 18.04, is throwing
error: no such subcommand:
+nightly
My system has following nightly version
rustc 1.47.0-nightly
cargo 1.47.0-nightly install --git https://github.com/alexcrichton/wasm-gc --force
Even, above command throws similar error!
Cmd1 : rustup toolchain install nightly
Cmd2 : rustup update
Even after running these commands as suggested over communities, error isn't resolved. I'm new to rust & couldn't link cargo to installed nightly via rustup.
System Details
cargo version : 1.43.0
rustup version : 1.22.1 (b01adbbc3 2020-07-08)
Cmd 3:
which cargo : /usr/bin/cargo
which cargo
? This looks like you might have either Cargo from your package manager, or a manually installed Cargo taking precedence over the rustupcargo
alias. – Bobker