@@ -413,38 +413,7 @@ pub unsafe fn atomic_cxchgweak_seqcst_seqcst<T: Copy>(dst: *mut T, old: T, src:
413413/// [`atomic`] types via the `load` method. For example, [`AtomicBool::load`].
414414#[ rustc_intrinsic]
415415#[ rustc_nounwind]
416- #[ cfg( not( bootstrap) ) ]
417416pub unsafe fn atomic_load < T : Copy , const ORD : AtomicOrdering > ( src : * const T ) -> T ;
418- /// Loads the current value of the pointer.
419- /// `T` must be an integer or pointer type.
420- ///
421- /// The stabilized version of this intrinsic is available on the
422- /// [`atomic`] types via the `load` method by passing
423- /// [`Ordering::SeqCst`] as the `order`. For example, [`AtomicBool::load`].
424- #[ rustc_intrinsic]
425- #[ rustc_nounwind]
426- #[ cfg( bootstrap) ]
427- pub unsafe fn atomic_load_seqcst < T : Copy > ( src : * const T ) -> T ;
428- /// Loads the current value of the pointer.
429- /// `T` must be an integer or pointer type.
430- ///
431- /// The stabilized version of this intrinsic is available on the
432- /// [`atomic`] types via the `load` method by passing
433- /// [`Ordering::Acquire`] as the `order`. For example, [`AtomicBool::load`].
434- #[ rustc_intrinsic]
435- #[ rustc_nounwind]
436- #[ cfg( bootstrap) ]
437- pub unsafe fn atomic_load_acquire < T : Copy > ( src : * const T ) -> T ;
438- /// Loads the current value of the pointer.
439- /// `T` must be an integer or pointer type.
440- ///
441- /// The stabilized version of this intrinsic is available on the
442- /// [`atomic`] types via the `load` method by passing
443- /// [`Ordering::Relaxed`] as the `order`. For example, [`AtomicBool::load`].
444- #[ rustc_intrinsic]
445- #[ rustc_nounwind]
446- #[ cfg( bootstrap) ]
447- pub unsafe fn atomic_load_relaxed < T : Copy > ( src : * const T ) -> T ;
448417
449418/// Stores the value at the specified memory location.
450419/// `T` must be an integer or pointer type.
@@ -1767,7 +1736,6 @@ pub const unsafe fn arith_offset<T>(dst: *const T, offset: isize) -> *const T;
17671736/// - `index < PtrMetadata(slice_ptr)`, so the indexing is in-bounds for the slice
17681737/// - the resulting offsetting is in-bounds of the allocated object, which is
17691738/// always the case for references, but needs to be upheld manually for pointers
1770- #[ cfg( not( bootstrap) ) ]
17711739#[ rustc_nounwind]
17721740#[ rustc_intrinsic]
17731741pub const unsafe fn slice_get_unchecked <
@@ -3710,7 +3678,7 @@ pub const fn minnumf128(x: f128, y: f128) -> f128;
37103678/// Therefore, implementations must not require the user to uphold
37113679/// any safety invariants.
37123680#[ rustc_nounwind]
3713- #[ cfg_attr ( not ( bootstrap ) , rustc_intrinsic) ]
3681+ #[ rustc_intrinsic]
37143682pub const fn minimumf16 ( x : f16 , y : f16 ) -> f16 {
37153683 if x < y {
37163684 x
@@ -3731,7 +3699,7 @@ pub const fn minimumf16(x: f16, y: f16) -> f16 {
37313699/// Therefore, implementations must not require the user to uphold
37323700/// any safety invariants.
37333701#[ rustc_nounwind]
3734- #[ cfg_attr ( not ( bootstrap ) , rustc_intrinsic) ]
3702+ #[ rustc_intrinsic]
37353703pub const fn minimumf32 ( x : f32 , y : f32 ) -> f32 {
37363704 if x < y {
37373705 x
@@ -3752,7 +3720,7 @@ pub const fn minimumf32(x: f32, y: f32) -> f32 {
37523720/// Therefore, implementations must not require the user to uphold
37533721/// any safety invariants.
37543722#[ rustc_nounwind]
3755- #[ cfg_attr ( not ( bootstrap ) , rustc_intrinsic) ]
3723+ #[ rustc_intrinsic]
37563724pub const fn minimumf64 ( x : f64 , y : f64 ) -> f64 {
37573725 if x < y {
37583726 x
@@ -3773,7 +3741,7 @@ pub const fn minimumf64(x: f64, y: f64) -> f64 {
37733741/// Therefore, implementations must not require the user to uphold
37743742/// any safety invariants.
37753743#[ rustc_nounwind]
3776- #[ cfg_attr ( not ( bootstrap ) , rustc_intrinsic) ]
3744+ #[ rustc_intrinsic]
37773745pub const fn minimumf128 ( x : f128 , y : f128 ) -> f128 {
37783746 if x < y {
37793747 x
@@ -3848,7 +3816,7 @@ pub const fn maxnumf128(x: f128, y: f128) -> f128;
38483816/// Therefore, implementations must not require the user to uphold
38493817/// any safety invariants.
38503818#[ rustc_nounwind]
3851- #[ cfg_attr ( not ( bootstrap ) , rustc_intrinsic) ]
3819+ #[ rustc_intrinsic]
38523820pub const fn maximumf16 ( x : f16 , y : f16 ) -> f16 {
38533821 if x > y {
38543822 x
@@ -3868,7 +3836,7 @@ pub const fn maximumf16(x: f16, y: f16) -> f16 {
38683836/// Therefore, implementations must not require the user to uphold
38693837/// any safety invariants.
38703838#[ rustc_nounwind]
3871- #[ cfg_attr ( not ( bootstrap ) , rustc_intrinsic) ]
3839+ #[ rustc_intrinsic]
38723840pub const fn maximumf32 ( x : f32 , y : f32 ) -> f32 {
38733841 if x > y {
38743842 x
@@ -3888,7 +3856,7 @@ pub const fn maximumf32(x: f32, y: f32) -> f32 {
38883856/// Therefore, implementations must not require the user to uphold
38893857/// any safety invariants.
38903858#[ rustc_nounwind]
3891- #[ cfg_attr ( not ( bootstrap ) , rustc_intrinsic) ]
3859+ #[ rustc_intrinsic]
38923860pub const fn maximumf64 ( x : f64 , y : f64 ) -> f64 {
38933861 if x > y {
38943862 x
@@ -3908,7 +3876,7 @@ pub const fn maximumf64(x: f64, y: f64) -> f64 {
39083876/// Therefore, implementations must not require the user to uphold
39093877/// any safety invariants.
39103878#[ rustc_nounwind]
3911- #[ cfg_attr ( not ( bootstrap ) , rustc_intrinsic) ]
3879+ #[ rustc_intrinsic]
39123880pub const fn maximumf128 ( x : f128 , y : f128 ) -> f128 {
39133881 if x > y {
39143882 x
0 commit comments