@@ -27,12 +27,11 @@ macro_rules! pos {
27
27
( ) => ( ( file!( ) , line!( ) ) )
28
28
}
29
29
30
- #[ cfg( any( all( unix,
31
- not( target_os = "macos" ) ,
32
- not( target_os = "ios" ) ,
33
- not( target_os = "android" ) ,
34
- not( all( target_os = "linux" , target_arch = "arm" ) ) ) ,
35
- all( windows, not( target_arch = "x86" ) ) ) ) ]
30
+ #[ cfg( all( unix,
31
+ not( target_os = "macos" ) ,
32
+ not( target_os = "ios" ) ,
33
+ not( target_os = "android" ) ,
34
+ not( all( target_os = "linux" , target_arch = "arm" ) ) ) ) ]
36
35
macro_rules! dump_and_die {
37
36
( $( $pos: expr) ,* ) => ( {
38
37
// FIXME(#18285): we cannot include the current position because
@@ -43,12 +42,11 @@ macro_rules! dump_and_die {
43
42
}
44
43
45
44
// this does not work on Windows, Android, OSX or iOS
46
- #[ cfg( not( any ( all( unix,
45
+ #[ cfg( not( all( unix,
47
46
not( target_os = "macos" ) ,
48
47
not( target_os = "ios" ) ,
49
48
not( target_os = "android" ) ,
50
- not( all( target_os = "linux" , target_arch = "arm" ) ) ) ,
51
- all( windows, not( target_arch = "x86" ) ) ) ) ) ]
49
+ not( all( target_os = "linux" , target_arch = "arm" ) ) ) ) ) ]
52
50
macro_rules! dump_and_die {
53
51
( $( $pos: expr) ,* ) => ( { let _ = [ $( $pos) ,* ] ; } )
54
52
}
0 commit comments