When I attempted to install rust via rustup-init.exe I get an error.
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
1) Proceed with installation (default)
2) Customize installation
3) 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.
Of course I have already installed Visual Studio Build Tools 2019.
The installation process is complaining about it not being able to create a link, and that makes sense if the file system is exFAT, since an exFAT file system does not support links.
The simplest is probably not to install it on that drive. Otherwise I would open an issue on rustup. It surprises me a bit that there are no issues about it, so maybe I am wrong about the cause.
NTFS is generally a better file system than exFAT, so the main concern would be if you want to use it from a mac, which has only experimental support for NTFS I think.
@alice Could you please explain what they mean by proxy functionality?
Quote:
ExFAT does not support filesystem-level links which are required for rustup 's proxy functionality as you surmised in your 'possible solutions'. In theory we could do without the links by creating copies of rustup for each proxy but that would be a significantly wasteful use of disk space.
Probably it means that every binary you're running from command line is, in fact, launching rustup with certain arguments, which, in turn, finds and launches the program being requested.