summary refs log tree commit diff
path: root/library/std/src/thread/local.rs
AgeCommit message (Collapse)AuthorLines
2020-09-26Auto merge of #74225 - poliorcetics:std-thread-unsafe-op-in-unsafe-fn, ↵bors-36/+107
r=joshtriplett Std/thread: deny unsafe op in unsafe fn Partial fix of #73904. This encloses `unsafe` operations in `unsafe fn` in `libstd/thread`. `@rustbot` modify labels: F-unsafe-block-in-unsafe-fn
2020-09-22Update library functions with stability attributesDylan MacKenzie-0/+2
This may not be strictly minimal, but all unstable functions also need a `rustc_const_unstable` attribute.
2020-09-21Fix missing unsafe block for target arch wasm32Alexis Bourget-3/+10
2020-09-21Fix accordingly to reviewAlexis Bourget-22/+20
2020-09-21Improve some SAFETY comments following suggestionsAlexis Bourget-6/+17
2020-09-21Finished documenting all unsafe op inside unsafe fnAlexis Bourget-5/+17
2020-09-21Deny unsafe op in unsafe fns without the unsafe keyword, first part for ↵Alexis Bourget-28/+71
std/thread
2020-09-03Use inline(never) instead of coldHoward Su-3/+2
inline(never) is better way to avoid optimizer to inline the function instead of cold.
2020-08-31std: move "mod tests/benches" to separate filesLzu Tao-200/+6
Also doing fmt inplace as requested.
2020-08-20Move to intra doc links for std::thread documentationAlexis Bourget-5/+3
2020-07-29Disallow missing unsafe blocks in unsafe fn in panicking.rsAlexis Bourget-1/+5
This adds SAFETY comments where necessary, explaining the preconditions and how they are respected.
2020-07-27mv std libs to library/mark-0/+747