about summary refs log tree commit diff
path: root/library/std/src/sys/thread_local/native
AgeCommit message (Expand)AuthorLines
2025-09-27Hoist non-platform-specific code out of `thread_local_inner!`Jules Bertholet-4/+0
2025-09-26Support `#[rustc_align_static]` inside `thread_local!`Jules Bertholet-6/+14
2025-05-30Address review comments.Orson Peters-0/+7
2025-05-28When replacing an old value we may not drop it in placeOrson Peters-12/+8
2025-05-28Add same unsafe bound on get_or_init_slowOrson Peters-2/+8
2025-05-28Do not panic, maintain old behaviorOrson Peters-25/+17
2025-05-28Improve safety comment, double-drop is not relevant hereOrson Peters-3/+4
2025-05-28Do not move thread-locals before droppingOrson Peters-32/+52
2024-10-18Avoid shadowing user provided types or type aliases in `thread_local!`许杰友 Jieyou Xu (Joe)-16/+15
2024-10-02std: make `thread::current` available in all `thread_local!` destructorsjoboet-0/+31
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+2
2024-07-26Fix doc nitsJohn Arundel-2/+2
2024-06-15std: refactor the TLS implementationjoboet-0/+284