about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-02-27 21:46:36 +0100
committerGitHub <noreply@github.com>2022-02-27 21:46:36 +0100
commitc9308846197a7e0255080bdebfbc09026d7c6309 (patch)
treead0799ba1429c266b883550f33f1bccea8935305 /compiler/rustc_codegen_llvm/src
parent736dae2f71370c6c1ad04d8b2c6d97484cd02f33 (diff)
parent7ad4297a4960c657932885173bef77fde0f26ccd (diff)
downloadrust-c9308846197a7e0255080bdebfbc09026d7c6309.tar.gz
rust-c9308846197a7e0255080bdebfbc09026d7c6309.zip
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```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions