Could not exec the linker


#1

error: could not exec the linker link.exe: The system cannot find the file specified.
Windows 10.


#2

The -msvc toolchain depends on Microsoft linker, so you’ll need to have installed the Visual C++ Build Tools (or switch to the -gnu toolchain).