File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -341,6 +341,7 @@ extern "rust-intrinsic" {
341
341
/// [`Ordering::Relaxed`] as the `order`. For example, [`AtomicBool::load`].
342
342
#[ rustc_nounwind]
343
343
pub fn atomic_load_relaxed < T : Copy > ( src : * const T ) -> T ;
344
+ /// Do NOT use this intrinsic; "unordered" operations do not exist in our memory model!
344
345
#[ rustc_nounwind]
345
346
pub fn atomic_load_unordered < T : Copy > ( src : * const T ) -> T ;
346
347
@@ -365,6 +366,7 @@ extern "rust-intrinsic" {
365
366
/// [`Ordering::Relaxed`] as the `order`. For example, [`AtomicBool::store`].
366
367
#[ rustc_nounwind]
367
368
pub fn atomic_store_relaxed < T : Copy > ( dst : * mut T , val : T ) ;
369
+ /// Do NOT use this intrinsic; "unordered" operations do not exist in our memory model!
368
370
#[ rustc_nounwind]
369
371
pub fn atomic_store_unordered < T : Copy > ( dst : * mut T , val : T ) ;
370
372
@@ -2312,6 +2314,8 @@ extern "rust-intrinsic" {
2312
2314
2313
2315
/// Emits a `!nontemporal` store according to LLVM (see their docs).
2314
2316
/// Probably will never become stable.
2317
+ ///
2318
+ /// Do NOT use this intrinsic; "nontemporal" operations do not exist in our memory model!
2315
2319
#[ rustc_nounwind]
2316
2320
pub fn nontemporal_store < T > ( ptr : * mut T , val : T ) ;
2317
2321
You can’t perform that action at this time.
0 commit comments