meson
meson copied to clipboard
Rust linker problem on windows when clang is present
Describe the bug
With clang present (exist in system path) and cl absent, meson generates build.ninja
file using clang
as linker.
When removed clang, and left clang-cl, meson correctly uses lld-link as linker.
When cl present, meson correctly uses link.exe as linker.
System parameters
- Clang 9.0.0 Target: x86_64-pc-windows-msvc
- Rustc 1.41.0 stable-x86_64-pc-windows-msvc
- MSVC 19.24
- Windows 10
- Python 3.8.1
- meson 0.53.1 or meson tuned by #6634 0.53.999
- ninja 1.10.0