`cargo build` fails with linking error “link.exe failed: exit code: 325595”

后端 未结 1 1682
闹比i
闹比i 2020-12-22 06:24

I have a Rust project that compiles okay on Linux, macOS, and Windows 10.

I installed the following individual components on my Windows 7 computer today using the Vi

相关标签:
1条回答
  • 2020-12-22 07:23

    After downloading the latest 64-bit runtime Visual C++ Redistributable for Visual Studio 2017, link.exe works on my Windows 7 computer. I can now compile my Rust project.

    I'm surprised that the Visual Studio Installer doesn't ensure that the necessary runtime components are installed for the 2015 toolset.


    Update: Stargateur pointed out that the Redistributable can be installed directly from the Visual Studio Installer. It is the Visual C++ 2017 Redistributable Update individual component.

    0 讨论(0)
提交回复
热议问题