about summary refs log tree commit diff
path: root/library/std/src/sys/thread_local
AgeCommit message (Expand)AuthorLines
2025-07-21Fix broken TLS destructors on 32-bit win7roblabla-3/+14
2025-06-03Rollup merge of #141455 - joboet:tls_exhaustion_abort, r=tgross35Matthias Krüger-11/+10
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
2025-05-23std: abort the process on failure to allocate a TLS keyjoboet-11/+10
2025-05-22docs: fix typosDannyyy93-2/+2
2025-04-27use generic Atomic type where possibleChristopher Durham-12/+12
2025-04-11cfi: Remove #[no_sanitize(cfi)] for extern weak functionsBastian Kersting-3/+0
2025-04-05Rollup merge of #139121 - thaliaarchi:rename-thread_local-statik, r=NoratriebMatthias Krüger-3/+3
2025-04-04Rename internal module from statik to no_threadsThalia Archibald-3/+3
2025-03-18fix pthread-based tls on apple targetsAndrei Damian-0/+1
2025-03-10Remove custom TLS implementation for Trusty targetsNicole LeGare-39/+2
2025-03-10Apply rustc-0023-Add-Trusty-OS-support-to-Rust-std.patchNicole LeGare-0/+39
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-7/+4
2025-02-17Remove obsolete MinGW ThinLTO+TLS workaroundKornel-3/+1
2025-02-13std: Apply unsafe_attr_outside_unsafeEric Huss-2/+2
2025-02-09Mark extern blocks as unsafeMichael Goulet-4/+4
2025-02-09Mark link_section attr with unsafeMichael Goulet-1/+1
2024-12-10Rollup merge of #133472 - rust-wasi-web:master, r=joboetLeón Orell Valerian Liehr-1/+24
2024-12-05Add libc funcitons only for wasm32-wasip1-threads.Sebastian Urban-1/+1
2024-12-05Fix compilation for wasm32-wasip1 (without threads).Sebastian Urban-2/+4
2024-12-03Use UNIX thread_local implementation for WASI.Sebastian Urban-75/+22
2024-11-27update cfgsBoxy-2/+0
2024-11-25Run TLS destructors for wasm32-wasip1-threadsSebastian Urban-0/+74
2024-11-02Remove unintended linkHoutamelo-1/+1
2024-10-25Re-do recursive const stability checksRalf Jung-2/+2
2024-10-25Avoid use imports in thread_local_inner! in statikJeong YunWon-5/+4
2024-10-18Avoid shadowing user provided types or type aliases in `thread_local!`许杰友 Jieyou Xu (Joe)-22/+26
2024-10-02std: make `thread::current` available in all `thread_local!` destructorsjoboet-26/+175
2024-09-25Use `&raw` in the standard libraryJosh Stone-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-15/+12
2024-07-26Fix doc nitsJohn Arundel-5/+5
2024-07-20Remove _tls_used hackChris Denton-13/+0
2024-07-15Remove DWORDChris Denton-4/+4
2024-07-15Remove LPVOIDChris Denton-2/+3
2024-06-28std: add safety commentsjoboet-4/+16
2024-06-25std: separate TLS key creation from TLS accessjoboet-125/+100
2024-06-24std: fix wasm buildsjoboet-2/+16
2024-06-17std: rename module for clarityjoboet-2/+2
2024-06-17std: update TLS module documentationjoboet-16/+22
2024-06-17std: use the `c_int` from `core::ffi` instead of `libc`joboet-1/+1
2024-06-17std: simplify `#[cfg]`s for TLSjoboet-15/+10
2024-06-15std: refactor the TLS implementationjoboet-26/+1065
2024-06-04Auto merge of #125525 - joboet:tls_accessor, r=cuviperbors-172/+103
2024-06-02typo: depending from -> onRalf Jung-1/+1