Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 29cfb35

Browse files
committedNov 12, 2024
adds new declaration to codegen
1 parent 3904426 commit 29cfb35

File tree

1 file changed

+2
-0
lines changed
  • library/core/src/intrinsics

1 file changed

+2
-0
lines changed
 

‎library/core/src/intrinsics/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ pub unsafe fn atomic_cxchgweak_relaxed_acquire<T: Copy>(
307307
/// [`atomic`] types via the `compare_exchange_weak` method by passing
308308
/// [`Ordering::Relaxed`] and [`Ordering::SeqCst`] as the success and failure parameters.
309309
/// For example, [`AtomicBool::compare_exchange_weak`].
310+
#[rustc_intrinsic]
311+
#[rustc_intrinsic_must_be_overridden]
310312
#[rustc_nounwind]
311313
pub unsafe fn atomic_cxchgweak_relaxed_seqcst<T: Copy>(
312314
_dst: *mut T,

0 commit comments

Comments
 (0)
Failed to load comments.