Can’t install rust

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:


This can be modified with the RUSTUP_HOME
environment variable.

The Cargo home directory located at:


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:


This path will then be added to your PATH
environment variable by modifying the
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

error: could not create link from
'E:\cargo\bin\rustup.exe' to

Press the Enter key to continue.

Of course I have already installed Visual Studio Build Tools 2019.

Any ideas?

What kind of file system is on your E drive?

Neither, E is my external portable ssd and my os is on c.

Can you try this?

The C++ build tools are not checked in this screenshot ? Are you sure they are installed ? Rust re-uses, in particular, the C++ linker from Microsoft.


Here you go


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.

How can i fix this without deleting all my data?

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.

It is possible to reformat the drive to NTFS, would you recommend this?

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.

I don't own a mac, will i be able to use the portable hdd on Android if I switch to NTFS?

Android? I have no idea.

I created an issue which is linked.


@alice Could you please explain what they mean by proxy functionality?


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.

Also what is a filesystem-level link?

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.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.