@@ -1112,7 +1112,13 @@ $EndFeature, "
11121112 without modifying the original"]
11131113 #[ inline]
11141114 pub const fn wrapping_add( self , rhs: Self ) -> Self {
1115- intrinsics:: overflowing_add( self , rhs)
1115+ #[ cfg( boostrap_stdarch_ignore_this) ] {
1116+ intrinsics:: overflowing_add( self , rhs)
1117+ }
1118+
1119+ #[ cfg( not( boostrap_stdarch_ignore_this) ) ] {
1120+ intrinsics:: wrapping_add( self , rhs)
1121+ }
11161122 }
11171123 }
11181124
@@ -1135,7 +1141,13 @@ $EndFeature, "
11351141 without modifying the original"]
11361142 #[ inline]
11371143 pub const fn wrapping_sub( self , rhs: Self ) -> Self {
1138- intrinsics:: overflowing_sub( self , rhs)
1144+ #[ cfg( boostrap_stdarch_ignore_this) ] {
1145+ intrinsics:: overflowing_sub( self , rhs)
1146+ }
1147+
1148+ #[ cfg( not( boostrap_stdarch_ignore_this) ) ] {
1149+ intrinsics:: wrapping_sub( self , rhs)
1150+ }
11391151 }
11401152 }
11411153
@@ -1157,7 +1169,13 @@ $EndFeature, "
11571169 without modifying the original"]
11581170 #[ inline]
11591171 pub const fn wrapping_mul( self , rhs: Self ) -> Self {
1160- intrinsics:: overflowing_mul( self , rhs)
1172+ #[ cfg( boostrap_stdarch_ignore_this) ] {
1173+ intrinsics:: overflowing_mul( self , rhs)
1174+ }
1175+
1176+ #[ cfg( not( boostrap_stdarch_ignore_this) ) ] {
1177+ intrinsics:: wrapping_mul( self , rhs)
1178+ }
11611179 }
11621180 }
11631181
@@ -3031,7 +3049,13 @@ $EndFeature, "
30313049 without modifying the original"]
30323050 #[ inline]
30333051 pub const fn wrapping_add( self , rhs: Self ) -> Self {
3034- intrinsics:: overflowing_add( self , rhs)
3052+ #[ cfg( boostrap_stdarch_ignore_this) ] {
3053+ intrinsics:: overflowing_add( self , rhs)
3054+ }
3055+
3056+ #[ cfg( not( boostrap_stdarch_ignore_this) ) ] {
3057+ intrinsics:: wrapping_add( self , rhs)
3058+ }
30353059 }
30363060 }
30373061
@@ -3053,7 +3077,13 @@ $EndFeature, "
30533077 without modifying the original"]
30543078 #[ inline]
30553079 pub const fn wrapping_sub( self , rhs: Self ) -> Self {
3056- intrinsics:: overflowing_sub( self , rhs)
3080+ #[ cfg( boostrap_stdarch_ignore_this) ] {
3081+ intrinsics:: overflowing_sub( self , rhs)
3082+ }
3083+
3084+ #[ cfg( not( boostrap_stdarch_ignore_this) ) ] {
3085+ intrinsics:: wrapping_sub( self , rhs)
3086+ }
30573087 }
30583088 }
30593089
@@ -3076,7 +3106,13 @@ $EndFeature, "
30763106 without modifying the original"]
30773107 #[ inline]
30783108 pub const fn wrapping_mul( self , rhs: Self ) -> Self {
3079- intrinsics:: overflowing_mul( self , rhs)
3109+ #[ cfg( boostrap_stdarch_ignore_this) ] {
3110+ intrinsics:: overflowing_mul( self , rhs)
3111+ }
3112+
3113+ #[ cfg( not( boostrap_stdarch_ignore_this) ) ] {
3114+ intrinsics:: wrapping_mul( self , rhs)
3115+ }
30803116 }
30813117
30823118 doc_comment! {
0 commit comments