Skip to content

Commit 5f4d23d

Browse files
committed
Remove aliases for old atomic intrinsics names
1 parent f5db0c7 commit 5f4d23d

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

library/core/src/intrinsics.rs

-21
Original file line numberDiff line numberDiff line change
@@ -737,28 +737,7 @@ extern "rust-intrinsic" {
737737
/// [`atomic::compiler_fence`] by passing [`Ordering::AcqRel`]
738738
/// as the `order`.
739739
pub fn atomic_singlethreadfence_acqrel();
740-
}
741-
742-
// These have been renamed.
743-
//
744-
// These are the aliases for the old names.
745-
// To be removed when stdarch and panic_unwind have been updated.
746-
mod atomics {
747-
pub use super::atomic_cxchg_acqrel_acquire as atomic_cxchg_acqrel;
748-
pub use super::atomic_cxchg_acqrel_relaxed as atomic_cxchg_acqrel_failrelaxed;
749-
pub use super::atomic_cxchg_acquire_acquire as atomic_cxchg_acq;
750-
pub use super::atomic_cxchg_acquire_relaxed as atomic_cxchg_acq_failrelaxed;
751-
pub use super::atomic_cxchg_relaxed_relaxed as atomic_cxchg_relaxed;
752-
pub use super::atomic_cxchg_release_relaxed as atomic_cxchg_rel;
753-
pub use super::atomic_cxchg_seqcst_acquire as atomic_cxchg_failacq;
754-
pub use super::atomic_cxchg_seqcst_relaxed as atomic_cxchg_failrelaxed;
755-
pub use super::atomic_cxchg_seqcst_seqcst as atomic_cxchg;
756-
pub use super::atomic_store_seqcst as atomic_store;
757-
}
758740

759-
pub use atomics::*;
760-
761-
extern "rust-intrinsic" {
762741
/// The `prefetch` intrinsic is a hint to the code generator to insert a prefetch instruction
763742
/// if supported; otherwise, it is a no-op.
764743
/// Prefetches have no effect on the behavior of the program but can change its performance

0 commit comments

Comments
 (0)