@@ -61,6 +61,7 @@ fn uint_xor() {
61
61
62
62
#[ test]
63
63
#[ cfg( any( not( target_arch = "arm" ) , target_os = "linux" ) ) ] // Missing intrinsic in compiler-builtins
64
+ #[ cfg_attr( miri, ignore) ] // FIXME: Miri does not support atomic_min
64
65
fn uint_min ( ) {
65
66
let x = AtomicUsize :: new ( 0xf731 ) ;
66
67
assert_eq ! ( x. fetch_min( 0x137f , SeqCst ) , 0xf731 ) ;
@@ -71,6 +72,7 @@ fn uint_min() {
71
72
72
73
#[ test]
73
74
#[ cfg( any( not( target_arch = "arm" ) , target_os = "linux" ) ) ] // Missing intrinsic in compiler-builtins
75
+ #[ cfg_attr( miri, ignore) ] // FIXME: Miri does not support atomic_max
74
76
fn uint_max ( ) {
75
77
let x = AtomicUsize :: new ( 0x137f ) ;
76
78
assert_eq ! ( x. fetch_max( 0xf731 , SeqCst ) , 0x137f ) ;
@@ -109,6 +111,7 @@ fn int_xor() {
109
111
110
112
#[ test]
111
113
#[ cfg( any( not( target_arch = "arm" ) , target_os = "linux" ) ) ] // Missing intrinsic in compiler-builtins
114
+ #[ cfg_attr( miri, ignore) ] // FIXME: Miri does not support atomic_min
112
115
fn int_min ( ) {
113
116
let x = AtomicIsize :: new ( 0xf731 ) ;
114
117
assert_eq ! ( x. fetch_min( 0x137f , SeqCst ) , 0xf731 ) ;
@@ -119,6 +122,7 @@ fn int_min() {
119
122
120
123
#[ test]
121
124
#[ cfg( any( not( target_arch = "arm" ) , target_os = "linux" ) ) ] // Missing intrinsic in compiler-builtins
125
+ #[ cfg_attr( miri, ignore) ] // FIXME: Miri does not support atomic_max
122
126
fn int_max ( ) {
123
127
let x = AtomicIsize :: new ( 0x137f ) ;
124
128
assert_eq ! ( x. fetch_max( 0xf731 , SeqCst ) , 0x137f ) ;
0 commit comments