
Description
Problem
Attempting to install rust via rustup-init on Windows 64bit on a ExFAT filesystem produces the error:
error: could not create link from 'X:\cargo\bin\rustup.exe' to 'X:\cargo\bin\rustfmt.exe'
Steps
Where E is formated as ExFAT and rustup-init.exe is running from C: and has a filesystem of NTFS. Attempt to start the installer:
Welcome to Rust!
This will download and install the official compiler for the Rust
programming language, and its package manager, Cargo.
Rustup metadata and toolchains will be installed into the Rustup home directory, located at:
E:\rust
This can be modified with the RUSTUP_HOME
environment variable.
The Cargo home directory located at:
E:\cargo
This can be modified with the CARGO_HOME
environment variable.
The cargo, rustc, rustup and other commands will
be added to Cargo's bin directory, located at:
E:\cargo\bin
This path will then be added to your PATH
environment variable by modifying the
HKEY_CURRENT_USER/Environment/PATH
registry key.
You can uninstall at any time with rustup self
uninstall and these changes will be reverted.
Current installation options:
default host triple: x86_64-pc-windows-msvc
default toolchain: stable (default)
profile: default
modify PATH variable: yes
- Proceed with installation (default)
- Customize installation
- Cancel installation
1
error: could not create link from
'E:\cargo\bin\rustup.exe' to
'E:\cargo\bin\rustfmt.exe'
Press the Enter key to continue.
Possible Solution(s)
Many other programming languages don't have this issue because they don't rely on links(golang, ruby, php, python etc.). Maybe make it so rust works without links.
Notes
Output of rustup --version
: n/a
Output of rustup show
: n/a