Info Sharing Blog

Tuesday, December 3, 2019

RUST error: linker `link.exe` not found

December 03, 2019 Posted by jaacostan ,
While compiling Rust program in a windows environment, you may encounter the error : linker `link.exe` not found. This is because of the absence of the C++ build tools in your machine. For compiling Rust programs successfully, one of the prerequisites is the installation of the Build Tools for Visual Studio 2019.

After the download, while installing the Build tools, make sure that you install the required components (highlighted in Yellow)
This will download around 1.2GB of required files. Once everything is successfully installed, reboot and re-run your rust program and it will compile successfully.

Look forward >> The skills for your tomorrow with courses as low as $10.99