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() {
6060}
6161
6262#[ test]
63+ #[ cfg( not( target_arch = "arm" ) ) ] // Missing intrinsic in compiler-builtins
6364fn uint_min ( ) {
6465 let x = AtomicUsize :: new ( 0xf731 ) ;
6566 assert_eq ! ( x. fetch_min( 0x137f , SeqCst ) , 0xf731 ) ;
@@ -69,6 +70,7 @@ fn uint_min() {
6970}
7071
7172#[ test]
73+ #[ cfg( not( target_arch = "arm" ) ) ] // Missing intrinsic in compiler-builtins
7274fn uint_max ( ) {
7375 let x = AtomicUsize :: new ( 0x137f ) ;
7476 assert_eq ! ( x. fetch_max( 0xf731 , SeqCst ) , 0x137f ) ;
@@ -106,6 +108,7 @@ fn int_xor() {
106108}
107109
108110#[ test]
111+ #[ cfg( not( target_arch = "arm" ) ) ] // Missing intrinsic in compiler-builtins
109112fn int_min ( ) {
110113 let x = AtomicIsize :: new ( 0xf731 ) ;
111114 assert_eq ! ( x. fetch_min( 0x137f , SeqCst ) , 0xf731 ) ;
@@ -115,6 +118,7 @@ fn int_min() {
115118}
116119
117120#[ test]
121+ #[ cfg( not( target_arch = "arm" ) ) ] // Missing intrinsic in compiler-builtins
118122fn int_max ( ) {
119123 let x = AtomicIsize :: new ( 0x137f ) ;
120124 assert_eq ! ( x. fetch_max( 0xf731 , SeqCst ) , 0x137f ) ;
You can’t perform that action at this time.
0 commit comments