Hello,
I am trying to install a rustup toolchain for windows, however, when trying to install such toolchain, rustup returns errors telling me its 'main' thread panicked.
Steps taken:
- Obtained rustup-init.exe from rustup.rs
- Installed rustup with customized installation:
- Changed default host triple to
x86_64-pc-windows-gnu - Used default toolchain
stable - Said
yesto modify PATH variable
- Restarted powershell
- Ran
rustup toolchain install stable-x86_64-pc-windows-gnu
Expected:
Rustup to download and install the selected toolchain.
Actual results (using : $env:RUST_BACKTRACE=1):
PS D:\src> rustup toolchain install stable-x86_64-pc-windows-gnu
thread 'main' panicked at 'host triple couldn't be converted to partial triple', ../src/libcore\option.rs:700
or (which is directly copied from the documentation listed at rustup toolchain --help)
PS D:\src> rustup toolchain install stable-x86_64-pc-windows-msvc
thread 'main' panicked at 'host triple couldn't be converted to partial triple', ../src/libcore\option.rs:700
Platform:
Windows version: Windows 8.1 x86_64
Rustup version: rustup 0.6.5 (88ef618 2016-11-04) obtained from rustup-init.exe downloaded from rustup.rs on 2016-12-03.
Existing rust version (manually installed):
rustc 1.12.0 (3191fbae9 2016-09-23)which also existed on the PATH.
Thank you in advance for helping to solve this issue.
If this issue already exists, or I am doing something (obvious) wrong, please accept my sincere excuse for such mistake.
I checked on existing issues with the following tags: is:issue is:open install, is:issue is:open install windows, is:issue is:open install windows gnu.