Skip to content

Commit e0452c9

Browse files
committed
adds new declaration to codegen
1 parent 068537a commit e0452c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)