Files
rust/tests
bors 852f15c0f1 Auto merge of #141685 - orlp:inplace-tls-drop, r=joboet
Do not move thread-locals before dropping

Fixes rust-lang/rust#140816. I also (potentially) improved the speed of `get_or_init` a bit by having an explicit hot/cold path.

We still move the value before dropping in the event of a recursive initialization (leading to double-initialization with one value being silently dropped). This is the old behavior, but changing this to panic instead would involve changing tests and also the other OS-specific `thread_local/os.rs` implementation, which is more than I'd like in this PR.
2025-05-31 14:56:33 +00:00
..
2025-05-26 00:39:23 +08:00
2025-04-20 11:18:38 +02:00
2025-05-07 16:29:59 +00:00
2025-05-21 07:24:43 +00:00
2025-05-23 12:10:53 +00:00
2025-05-28 15:14:34 +01:00