mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-09 05:36:17 +00:00

rustc_target: Refactor internal linker flavors In accordance with the design from https://github.com/rust-lang/rust/pull/96827#issuecomment-1208441595 `lld_flavor` and `linker_is_gnu` fields are removed from internal target specs, but still parsed from JSON specs using compatibility layer introduced in https://github.com/rust-lang/rust/pull/100552. r? `@lqd`
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.