1
- #[ cfg( all( unix, not( mio_unsupported_force_poll_poll) , not( target_os = "vita" ) ) ) ]
1
+ #[ cfg( all(
2
+ unix,
3
+ not( mio_unsupported_force_poll_poll) ,
4
+ not( any( target_os = "solaris" , target_os = "vita" ) )
5
+ ) ) ]
2
6
use std:: os:: unix:: io:: { AsRawFd , RawFd } ;
3
7
#[ cfg( all( debug_assertions, not( target_os = "wasi" ) ) ) ]
4
8
use std:: sync:: atomic:: { AtomicBool , Ordering } ;
@@ -423,7 +427,11 @@ impl Poll {
423
427
}
424
428
}
425
429
426
- #[ cfg( all( unix, not( mio_unsupported_force_poll_poll) , not( target_os = "vita" ) ) ) ]
430
+ #[ cfg( all(
431
+ unix,
432
+ not( mio_unsupported_force_poll_poll) ,
433
+ not( any( target_os = "solaris" , target_os = "vita" ) )
434
+ ) ) ]
427
435
impl AsRawFd for Poll {
428
436
fn as_raw_fd ( & self ) -> RawFd {
429
437
self . registry . as_raw_fd ( )
@@ -710,7 +718,11 @@ impl fmt::Debug for Registry {
710
718
}
711
719
}
712
720
713
- #[ cfg( all( unix, not( mio_unsupported_force_poll_poll) , not( target_os = "vita" ) ) ) ]
721
+ #[ cfg( all(
722
+ unix,
723
+ not( mio_unsupported_force_poll_poll) ,
724
+ not( any( target_os = "solaris" , target_os = "vita" ) )
725
+ ) ) ]
714
726
impl AsRawFd for Registry {
715
727
fn as_raw_fd ( & self ) -> RawFd {
716
728
self . selector . as_raw_fd ( )
@@ -721,7 +733,7 @@ cfg_os_poll! {
721
733
#[ cfg( all(
722
734
unix,
723
735
not( mio_unsupported_force_poll_poll) ,
724
- not( target_os = "vita" ) ,
736
+ not( any ( target_os = "solaris" , target_os = " vita") ) ,
725
737
) ) ]
726
738
#[ test]
727
739
pub fn as_raw_fd( ) {
0 commit comments