Rustc does not exist

I'm installing Rust at Windows 10 machine.

  1. Installed Microsoft Build Tools 2015 from here
  2. Installed Stable Rust stable from here
  3. Installed Nightly Rust by downloading the 64-bit installer as explained here

Once I run rustup update I get a note for the nightly that rustc does not exist as below!

I don’t know if we can have both nightly and stable rust together (???). Maybe here is the problem.

( I today installed latest Rust with rustup without any problems (have already VS on disk)).

If rustup works then does using rustup install nightly give any errors?

It gives the same mg:>

PS C:\Users\Hasan Yousef\downloads> rustup install nightly
info: syncing channel updates for ‘nightly-x86_64-pc-windows-msvc’

nightly-x86_64-pc-windows-msvc unchanged - (rustc does not exist)

PS C:\Users\Hasan Yousef\downloads> rustup default nightly
info: using existing install for ‘nightly-x86_64-pc-windows-msvc’
info: default toolchain set to ‘nightly-x86_64-pc-windows-msvc’

nightly-x86_64-pc-windows-msvc unchanged - (rustc does not exist)

PS C:\Users\Hasan Yousef\downloads> rustc -V
error: toolchain ‘nightly-x86_64-pc-windows-msvc’ does not have the binary rustc.exe

It should accept, as per this.

Huh, you could try rustup install nightly-2018-09-13. That’s the version I’m currently using on msvc. Otherwise I don’t have a clue.

I uninstalled everything using rustup self uninstall then re-installed rust-up.

Then run the below:
rustup install nightly-msvc

then got things running,

1 Like

Great that it is working.

Funny thing, I was thinking about rustup self update command, however did not write it here in this topic. Wasn’t conviced it help.

For me, rustup uninstall stable-x86_64-pc-windows-gnu and then rustup install stable-x86_64-pc-windows-gnu --force worked.