rust/library/core/src
Yuki Okushi 25b84491f7
Rollup merge of #97516 - RalfJung:atomics, r=joshtriplett
clarify how Rust atomics correspond to C++ atomics

``@cbeuw`` noted in https://github.com/rust-lang/miri/pull/1963 that the correspondence between C++ atomics and Rust atomics is not quite as obvious as one might think, since in Rust I can use `get_mut` to treat previously non-atomic data as atomic. However, I think using C++20 `atomic_ref`, we can establish a suitable relation between the two -- or do you see problems with that ``@cbeuw?`` (I recall you said there was some issue, but it was deep inside that PR and Github makes it impossible to find...)

Cc ``@thomcc;`` not sure whom else to ping for atomic memory model things.
2022-06-22 15:16:11 +09:00
..
alloc Rollup merge of #97034 - fee1-dead-contrib:layout-hash, r=dtolnay 2022-05-28 08:45:51 +02:00
array Stabilize {slice,array}::from_ref 2022-05-24 22:33:31 +04:00
async_iter Add Stream alias for AsyncIterator 2022-03-15 20:59:13 -07:00
cell Move/rename lazy::{OnceCell, Lazy} to cell::{OnceCell, LazyCell} 2022-06-16 19:53:59 +04:00
char No need to check the assert all the time. 2022-04-16 19:30:23 +01:00
convert Warn on unused doc(hidden) on trait impl items 2022-05-08 22:53:14 +02:00
ffi Horizon OS STD support 2022-06-13 20:44:39 -07:00
fmt Mention formatting macros when encountering ArgumentV1::new in const 2022-06-19 20:18:08 -07:00
future typos in IntoFuture docs 2022-06-19 17:13:48 +02:00
hash Auto merge of #97842 - notriddle:notriddle/tuple-docs, r=jsha,GuillaumeGomez 2022-06-16 11:13:30 +00:00
iter Expose iter::ByRefSized as unstable feature and use it 2022-06-18 00:03:54 +02:00
macros Grammar fix in the compile_error documentation 2022-06-09 12:40:10 +02:00
mem Rollup merge of #95534 - jyn514:std-mem-copy, r=joshtriplett 2022-06-20 07:37:40 +09:00
num Corrected EBNF grammar for from_str 2022-05-28 18:24:34 -04:00
ops Add a link to the unstable book page on Generator doc comment 2022-06-20 23:19:50 +09:00
panic Auto merge of #96348 - overdrivenpotato:inline-location, r=the8472 2022-04-30 16:33:12 +00:00
prelude Create 2024 edition 2022-04-02 02:45:49 -04:00
ptr Stabilize const_intrinsic_copy 2022-06-08 20:17:28 +09:00
slice Auto merge of #93765 - zhangyunhao116:heapsort, r=m-ou-se 2022-06-20 18:09:30 +00:00
str Auto merge of #97367 - WaffleLapkin:stabilize_checked_slice_to_str_conv, r=dtolnay 2022-06-19 05:51:42 +00:00
sync Rollup merge of #97516 - RalfJung:atomics, r=joshtriplett 2022-06-22 15:16:11 +09:00
task Rollup merge of #93966 - rkuhn:patch-1, r=tmandry 2022-05-25 07:08:41 +09:00
unicode Add unicode fast path to is_printable 2022-05-31 10:51:35 +02:00
any.rs Fix typos in Provider API docs 2022-06-10 20:58:27 -07:00
ascii.rs Inline <EscapeDefault as Iterator>::next 2022-03-10 15:35:22 +01:00
asserting.rs [RFC 2011] Library code 2022-05-22 07:18:32 -03:00
bool.rs Stabilize bool::then_some 2022-05-04 13:22:08 +02:00
borrow.rs
cell.rs Move/rename lazy::{OnceCell, Lazy} to cell::{OnceCell, LazyCell} 2022-06-16 19:53:59 +04:00
clone.rs docs: show Clone and Copy on () doc pages 2022-06-07 12:12:49 -07:00
cmp.rs Rollup merge of #97950 - eggyal:issue-97945, r=Dylan-DPC 2022-06-12 17:35:41 -07:00
default.rs Add documentation 2022-04-07 20:03:24 -04:00
hint.rs Clarify unreachable_unchecked docs 2022-05-06 09:34:41 +02:00
internal_macros.rs ignore a doctest for the non-exported macro 2022-05-03 18:33:56 +09:00
intrinsics.rs Rollup merge of #97269 - RalfJung:transmute, r=m-ou-se 2022-06-21 20:08:08 +09:00
lazy.rs Move/rename lazy::{OnceCell, Lazy} to cell::{OnceCell, LazyCell} 2022-06-16 19:53:59 +04:00
lib.rs Stabilize const_intrinsic_copy 2022-06-08 20:17:28 +09:00
marker.rs docs: show Clone and Copy on () doc pages 2022-06-07 12:12:49 -07:00
option.rs Rollup merge of #96033 - yaahc:expect-elaboration, r=scottmcm 2022-05-26 20:59:40 +02:00
panic.rs resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
panicking.rs trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
pin.rs Fix the generator example for pin!() 2022-05-05 09:58:13 +10:00
primitive_docs.rs rustdoc: change "variadic tuple" notation to look less like real syntax 2022-06-14 12:21:38 -07:00
primitive.rs
result.rs Rollup merge of #96033 - yaahc:expect-elaboration, r=scottmcm 2022-05-26 20:59:40 +02:00
time.rs Rollup merge of #96051 - newpavlov:duration_rounding, r=nagisa,joshtriplett 2022-05-26 20:15:07 -07:00
tuple.rs Add docs to maybe_tuple_doc! 2022-06-11 21:47:03 -07:00
unit.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00