rust/compiler/rustc_interface/src
Matthias Krüger c930884619
Rollup merge of #94415 - bjorn3:cfg_default_backend, r=Mark-Simulacrum
Use the first codegen backend in the config.toml as default

It is currently hard coded to llvm if enabled and cranelift otherwise.
This made some sense when cranelift was the only alternative codegen
backend. Since the introduction of the gcc backend this doesn't make
much sense anymore. Before this PR bootstrapping rustc using a backend
other than llvm or cranelift required changing the source of
rustc_interface. With this PR it becomes a matter of putting the right
backend as first enabled backend in config.toml.

cc ```@antoyo```
2022-02-27 21:46:36 +01:00
..
callbacks.rs Remove SPAN_DEBUG global 2022-02-12 11:50:02 +01:00
interface.rs Auto merge of #93368 - eddyb:diagbld-guarantee, r=estebank 2022-02-25 00:46:04 +00:00
lib.rs Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
passes.rs Rollup merge of #92933 - bjorn3:no_bin_lib_mixing, r=estebank 2022-02-18 16:23:28 +01:00
proc_macro_decls.rs Avoid more invocations of hir_crate query. 2021-09-29 23:16:47 +02:00
queries.rs Adopt let else in more places 2022-02-19 17:27:43 +01:00
tests.rs Auto merge of #93516 - nagisa:branch-protection, r=cjgillot 2022-02-26 21:53:03 +00:00
util.rs Use the first codegen backend in the config.toml as default 2022-02-27 11:28:05 +01:00