@@ -27,12 +27,11 @@ macro_rules! pos {
2727 ( ) => ( ( file!( ) , line!( ) ) )
2828}
2929
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" ) ) ) ) ]
3635macro_rules! dump_and_die {
3736 ( $( $pos: expr) ,* ) => ( {
3837 // FIXME(#18285): we cannot include the current position because
@@ -43,12 +42,11 @@ macro_rules! dump_and_die {
4342}
4443
4544// this does not work on Windows, Android, OSX or iOS
46- #[ cfg( not( any ( all( unix,
45+ #[ cfg( not( all( unix,
4746 not( target_os = "macos" ) ,
4847 not( target_os = "ios" ) ,
4948 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" ) ) ) ) ) ]
5250macro_rules! dump_and_die {
5351 ( $( $pos: expr) ,* ) => ( { let _ = [ $( $pos) ,* ] ; } )
5452}
0 commit comments