mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
adds new declaration to codegen
This commit is contained in:
parent
3904426188
commit
29cfb35074
@ -307,6 +307,8 @@ pub unsafe fn atomic_cxchgweak_relaxed_acquire<T: Copy>(
|
||||
/// [`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<T: Copy>(
|
||||
_dst: *mut T,
|
||||
|
Loading…
Reference in New Issue
Block a user