about summary refs log tree commit diff
path: root/library
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2022-08-13 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2022-08-23 16:24:59 +0200
commit5f4d23dd143295bc637410b31e29b405806c1622 (patch)
tree2e8a702a7c0edfad9b6944837c3664ba3e163db8 /library
parentf5db0c7110fc728701444c40a7372f0ea3cd40ce (diff)
downloadrust-5f4d23dd143295bc637410b31e29b405806c1622.tar.gz
rust-5f4d23dd143295bc637410b31e29b405806c1622.zip
Remove aliases for old atomic intrinsics names
Diffstat (limited to 'library')
-rw-r--r--library/core/src/intrinsics.rs21
1 files changed, 0 insertions, 21 deletions
diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs
index 441d2382686..f27ac24fded 100644
--- a/library/core/src/intrinsics.rs
+++ b/library/core/src/intrinsics.rs
@@ -737,28 +737,7 @@ extern "rust-intrinsic" {
     /// [`atomic::compiler_fence`] by passing [`Ordering::AcqRel`]
     /// as the `order`.
     pub fn atomic_singlethreadfence_acqrel();
-}
-
-// These have been renamed.
-//
-// These are the aliases for the old names.
-// To be removed when stdarch and panic_unwind have been updated.
-mod atomics {
-    pub use super::atomic_cxchg_acqrel_acquire as atomic_cxchg_acqrel;
-    pub use super::atomic_cxchg_acqrel_relaxed as atomic_cxchg_acqrel_failrelaxed;
-    pub use super::atomic_cxchg_acquire_acquire as atomic_cxchg_acq;
-    pub use super::atomic_cxchg_acquire_relaxed as atomic_cxchg_acq_failrelaxed;
-    pub use super::atomic_cxchg_relaxed_relaxed as atomic_cxchg_relaxed;
-    pub use super::atomic_cxchg_release_relaxed as atomic_cxchg_rel;
-    pub use super::atomic_cxchg_seqcst_acquire as atomic_cxchg_failacq;
-    pub use super::atomic_cxchg_seqcst_relaxed as atomic_cxchg_failrelaxed;
-    pub use super::atomic_cxchg_seqcst_seqcst as atomic_cxchg;
-    pub use super::atomic_store_seqcst as atomic_store;
-}
 
-pub use atomics::*;
-
-extern "rust-intrinsic" {
     /// The `prefetch` intrinsic is a hint to the code generator to insert a prefetch instruction
     /// if supported; otherwise, it is a no-op.
     /// Prefetches have no effect on the behavior of the program but can change its performance