I am run the rust program this error how to solve it?

error: linker link.exe not found
|
= note: The system cannot find the file specified. (os error 2)

note: the msvc targets depend on the msvc linker but link.exe was not found

The default Rust toolchain on Windows uses the Microsoft Visual C++ (MSVC) build tools when compiling - do you have them installed?

If not, you can get them from here: Download Visual Studio Tools - Install Free for Windows, Mac, Linux

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.