about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-19 00:03:42 +0000
committerbors <bors@rust-lang.org>2023-10-19 00:03:42 +0000
commit89432aadcb3174a0d7611557fa9b1ef05c72b920 (patch)
treea75de7fa897262ef7c24941db24380503149bb60 /compiler/rustc_codegen_llvm/src
parent0039d739d40a076334e111488946441378d11cd7 (diff)
parent88efb1bdefc61289ab55e0483e6af36eebf8e8b8 (diff)
downloadrust-89432aadcb3174a0d7611557fa9b1ef05c72b920.tar.gz
rust-89432aadcb3174a0d7611557fa9b1ef05c72b920.zip
Auto merge of #116402 - joboet:global_alloc_tls_unsoundness, r=thomcc,workingjubilee
Panic when the global allocator tries to register a TLS destructor

Using a `RefCell` avoids the undefined behaviour encountered in #116390 and reduces the amount of `unsafe` code in the codebase.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions