rust/library/std
Matthias Krüger 7c8c2f08e1
Rollup merge of #123651 - tgross35:thread-local-updates, r=Mark-Simulacrum
Thread local updates for idiomatic examples

Update thread local examples to make more idiomatic use of `Cell` for `Copy` types, `RefCell` for non-`Copy` types.

Also shrink the size of `unsafe` blocks, add `SAFETY` comments, and fix `clippy::redundant_closure_for_method_calls`.
2024-04-14 09:01:56 +02:00
..
benches also test parts of std 2024-04-07 10:05:57 +02:00
src Rollup merge of #123651 - tgross35:thread-local-updates, r=Mark-Simulacrum 2024-04-14 09:01:56 +02:00
tests also test parts of std 2024-04-07 10:05:57 +02:00
build.rs Support for visionOS 2024-03-18 20:45:45 -07:00
Cargo.toml add platform-specific function to get the error number for HermitOS 2024-02-28 23:01:56 +01:00