compilers/detect: use linker_always_args as well as linker exe_list
Otherwise we don't get critical arguments like -fuse=lld.
@@ -980,7 +980,7 @@ def detect_rust_compiler(env: 'Environment', for_machine: MachineChoice) -> Rust
extra_args['direct'] = True
extra_args['machine'] = cc.linker.machine
else:
- exelist = cc.linker.exelist.copy()
+ exelist = cc.linker.exelist + cc.linker.get_always_args()
if 'ccache' in exelist[0]:
del exelist[0]
c = exelist.pop(0)
