mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-11 22:58:12 +00:00

Change implementation of `-Z gcc-ld` and `lld-wrapper` again This PR partially reverts https://github.com/rust-lang/rust/pull/97375 and uses the strategy described in https://github.com/rust-lang/rust/issues/97402#issuecomment-1147404520 instead, thus fixes https://github.com/rust-lang/rust/issues/97755.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.