about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/base.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-13 21:04:19 +0000
committerbors <bors@rust-lang.org>2022-04-13 21:04:19 +0000
commit34a6c9f26e2ce32cad0d71f5e342365b09f4d12c (patch)
treebeb176a15b3870a559108e5859d608f5e3573ca7 /compiler/rustc_codegen_llvm/src/base.rs
parentdc4bfcbdfff651c82eff4bdd311d28e54d1513c4 (diff)
parent9bfe0e39e4214c9a76e6c38350286176fa73787a (diff)
downloadrust-34a6c9f26e2ce32cad0d71f5e342365b09f4d12c.tar.gz
rust-34a6c9f26e2ce32cad0d71f5e342365b09f4d12c.zip
Auto merge of #95968 - davidtwco:translation-lazy-fallback, r=oli-obk
errors: lazily load fallback fluent bundle

Addresses (hopefully) https://github.com/rust-lang/rust/pull/95667#issuecomment-1094794087.

Loading the fallback bundle in compilation sessions that won't go on to emit any errors unnecessarily degrades compile time performance, so lazily create the Fluent bundle when it is first required.

r? `@ghost` (just for perf initially)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/base.rs')
0 files changed, 0 insertions, 0 deletions