diff options
| author | bors <bors@rust-lang.org> | 2024-05-24 15:34:07 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-24 15:34:07 +0000 |
| commit | 9e297bf54d31eb3b30067208ff9af4416945a2ed (patch) | |
| tree | a4d3c30ebb2ce5b2745e8b4f58e54647444f0613 /compiler/rustc_codegen_gcc/example/example.rs | |
| parent | 213ad10c8f0fc275648552366275dc4e07f97462 (diff) | |
| parent | 0e7e75ebca2ee9cc9a6c019110797250094908f5 (diff) | |
| download | rust-9e297bf54d31eb3b30067208ff9af4416945a2ed.tar.gz rust-9e297bf54d31eb3b30067208ff9af4416945a2ed.zip | |
Auto merge of #122494 - joboet:simplify_key_tls, r=m-ou-se
Simplify key-based thread locals This PR simplifies key-based thread-locals by: * unifying the macro expansion of `const` and non-`const` initializers * reducing the amount of code in the expansion * simply reallocating on recursive initialization instead of going through `LazyKeyInner` * replacing `catch_unwind` with the shared `abort_on_dtor_unwind` It does not change the initialization behaviour described in #110897.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions
