diff --git a/core/src/intrinsics/mod.rs b/core/src/intrinsics/mod.rs index 6aa80af5f955a..cbf32e0b550ad 100644 --- a/core/src/intrinsics/mod.rs +++ b/core/src/intrinsics/mod.rs @@ -307,6 +307,8 @@ pub unsafe fn atomic_cxchgweak_relaxed_acquire( /// [`atomic`] types via the `compare_exchange_weak` method by passing /// [`Ordering::Relaxed`] and [`Ordering::SeqCst`] as the success and failure parameters. /// For example, [`AtomicBool::compare_exchange_weak`]. +#[rustc_intrinsic] +#[rustc_intrinsic_must_be_overridden] #[rustc_nounwind] pub unsafe fn atomic_cxchgweak_relaxed_seqcst( _dst: *mut T,