File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ fn uint_xor() {
60
60
}
61
61
62
62
#[ test]
63
+ #[ cfg( not( target_arch = "arm" ) ) ] // Missing intrinsic in compiler-builtins
63
64
fn uint_min ( ) {
64
65
let x = AtomicUsize :: new ( 0xf731 ) ;
65
66
assert_eq ! ( x. fetch_min( 0x137f , SeqCst ) , 0xf731 ) ;
@@ -69,6 +70,7 @@ fn uint_min() {
69
70
}
70
71
71
72
#[ test]
73
+ #[ cfg( not( target_arch = "arm" ) ) ] // Missing intrinsic in compiler-builtins
72
74
fn uint_max ( ) {
73
75
let x = AtomicUsize :: new ( 0x137f ) ;
74
76
assert_eq ! ( x. fetch_max( 0xf731 , SeqCst ) , 0x137f ) ;
@@ -106,6 +108,7 @@ fn int_xor() {
106
108
}
107
109
108
110
#[ test]
111
+ #[ cfg( not( target_arch = "arm" ) ) ] // Missing intrinsic in compiler-builtins
109
112
fn int_min ( ) {
110
113
let x = AtomicIsize :: new ( 0xf731 ) ;
111
114
assert_eq ! ( x. fetch_min( 0x137f , SeqCst ) , 0xf731 ) ;
@@ -115,6 +118,7 @@ fn int_min() {
115
118
}
116
119
117
120
#[ test]
121
+ #[ cfg( not( target_arch = "arm" ) ) ] // Missing intrinsic in compiler-builtins
118
122
fn int_max ( ) {
119
123
let x = AtomicIsize :: new ( 0x137f ) ;
120
124
assert_eq ! ( x. fetch_max( 0xf731 , SeqCst ) , 0x137f ) ;
You can’t perform that action at this time.
0 commit comments