rust/compiler/rustc_interface
Guillaume Gomez edf79cb86b
Rollup merge of #100552 - petrochenkov:flavorcompat, r=lqd
rustc_target: Add a compatibility layer to separate internal and user-facing linker flavors

I want to do some refactorings in `rustc_target` - merge `lld_flavor` and `linker_is_gnu` into `linker_flavor`, support combination gcc+lld (https://github.com/rust-lang/rust/pull/96827).
This PR adds some compatibility infra that makes that possible without making any changes to user-facing interfaces - `-Clinker-flavor` values and json target specs. (For json target specs this infra may eventually go away since they are not very stable.)

The second commit does some light refactoring of internal linker flavors (applies changes from 53eca42973 that don't require mass-editing target specs).
2022-09-02 11:34:49 +02:00
..
src Rollup merge of #100552 - petrochenkov:flavorcompat, r=lqd 2022-09-02 11:34:49 +02:00
Cargo.toml Migrate emoji identifier diagnostics to SessionDiagnostic 2022-08-17 05:07:47 +09:00