about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-11-09 19:16:45 +0100
committerGitHub <noreply@github.com>2024-11-09 19:16:45 +0100
commit9b47807b135f25144da5a55069770cd7875e708d (patch)
tree5c278c7a775f81fc86f27af17559383e01ee7573 /compiler/rustc_errors/src/json.rs
parentc435fa8c4b55f0f8ef8e2e839ce7de960613267e (diff)
parent6ffab47e553f6fcd5590a3c86c646860bace5823 (diff)
downloadrust-9b47807b135f25144da5a55069770cd7875e708d.tar.gz
rust-9b47807b135f25144da5a55069770cd7875e708d.zip
Rollup merge of #132774 - bjorn3:cranelift_lld, r=lqd
Use lld with non-LLVM backends

On arm64, Cranelift used to produce object files that don't work with lld. This has since been fixed. The GCC backend should always produce object files that work with lld unless lld for whatever reason drops GCC support. Most of the other more niche backends don't use cg_ssa's linker code at all. If they do and don't work with lld, they can always disable lld usage using a cli argument.

 Without this commit using cg_clif is by default in a non-trivial amount of cases a perf regression on Linux due to ld.bfd being a fair bit slower than lld. It is possible to explicitly enable it without this commit, but most users are unlikely to do this.
Diffstat (limited to 'compiler/rustc_errors/src/json.rs')
0 files changed, 0 insertions, 0 deletions