about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-03 09:21:22 +0000
committerbors <bors@rust-lang.org>2024-05-03 09:21:22 +0000
commit993d8ae2a7b26ac779fde923b2ce9ce35d7143a8 (patch)
tree6a9000abee45cab575eb3be789227d9d5d01c167 /compiler/rustc_codegen_llvm/src
parent60267b26a15c5e3e576ea5227accb9638b6fc907 (diff)
parentc187bff864234e869dabcb41d2336639e29e2511 (diff)
downloadrust-993d8ae2a7b26ac779fde923b2ce9ce35d7143a8.tar.gz
rust-993d8ae2a7b26ac779fde923b2ce9ce35d7143a8.zip
Auto merge of #12567 - Alexendoo:format-args-storage, r=flip1995
Fix `FormatArgs` storage when `-Zthreads` > 1

Fixes #11886

The initial way I thought of was a little gross so I never opened a PR for it, I thought of a nicer way today that no longer involves any `thread_local`s or `static`s

`rustc_data_strucutres::sync::{Lrc, OnceLock}` implement `DynSend` + `DynSync` so we can pass them to the lint passes that need the storage

changelog: none

r? `@flip1995`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions