diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-04-02 21:22:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-02 21:22:03 +0200 |
| commit | 5b717684ffc5f908a9a3953a21cd3d3d20020c1e (patch) | |
| tree | b27ef008626994e786b7ecc324dcb5259ad77821 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 464f264387978e4d6b8df96791bbfc76fcd10d98 (diff) | |
| parent | 64b75f736ddaf10887a508941ab7dea9a67d01d4 (diff) | |
| download | rust-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
