Closed
Description
#89288 added a new wrapper tool the only purpose of which is to call LLD with the right flavor when rust-lld
shipped with Rust distribution is used.
I strongly suspect that it is not necessary and the whole setup can be simplified.
The LLD executable itself is already a wrapper that does dispatch on its name and passed -flavor
, we should be able to make it do what is necessary for us.
In the worst case we can patch src\llvm-project\lld\tools\lld\lld.cpp
, since rust-lld
is built and shipped by us using our fork of LLVM, that would still be better than a separate wrapper tool.