about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-02 21:22:03 +0200
committerGitHub <noreply@github.com>2024-04-02 21:22:03 +0200
commit5b717684ffc5f908a9a3953a21cd3d3d20020c1e (patch)
treeb27ef008626994e786b7ecc324dcb5259ad77821 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent464f264387978e4d6b8df96791bbfc76fcd10d98 (diff)
parent64b75f736ddaf10887a508941ab7dea9a67d01d4 (diff)
downloadrust-5b717684ffc5f908a9a3953a21cd3d3d20020c1e.tar.gz
rust-5b717684ffc5f908a9a3953a21cd3d3d20020c1e.zip
Rollup merge of #123362 - oli-obk:thread_local_nested_statics, r=estebank
Check that nested statics in thread locals are duplicated per thread.

follow-up to #123310

cc ``@compiler-errors`` ``@RalfJung``

fwiw: I have no idea how thread local statics make that work under LLVM, and miri fails on this example, which I would have expected to be the correct behaviour.

Since the `#[thread_local]` attribute is just an internal implementation detail, I'm just going to start hard erroring on nested mutable statics in thread locals.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions