MSVC-like targets ignore target spec's linker field #48506
Labels
A-linkage
Area: linking into static, shared libraries and binaries
O-windows-msvc
Toolchain: MSVC, Operating system: Windows
Normally if
-C linker
is not specified, the target spec is consulted. However, isis_like_msvc
is set, rustc uses "link.exe" unconditionally. This seems like an oversight. For example, it prevents setting up link.exe-flavored LLD in a target spec (which works fine with-C linker
, at least as far as invoking the right executable goes).cc @retep998
The text was updated successfully, but these errors were encountered: