Closed saud-kh closed 5 years ago
According to what/whom? The official Rust install instructions still show using the rustup domain.
here is what happens when you run the included rust line:
~$ curl https://sh.rustup.rs -sSf | sh -s -- --channel=nightly
info: downloading installer
error: Found argument '--channel' which wasn't expected, or isn't valid in this context
note: this was run on a clean vm image
the official docs use a different command/url to install nightly (the one that worked for me anyway): Nightly Rust
the problem also effects the cargo command which includes +nightly in install.sh
Alright I've changed the script for the new command line flags which are as follows:
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
Thanks for opening this issue.
Rust install line in the install file needs to be updated to this: curl -s https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly