1
1
#[ cfg( all(
2
2
unix,
3
3
not( mio_unsupported_force_poll_poll) ,
4
- not( any( target_os = "espidf" , target_os = "solaris" , target_os = "vita" ) ) ,
4
+ not( any(
5
+ target_os = "espidf" ,
6
+ target_os = "hermit" ,
7
+ target_os = "solaris" ,
8
+ target_os = "vita"
9
+ ) ) ,
5
10
) ) ]
6
11
use std:: os:: unix:: io:: { AsRawFd , RawFd } ;
7
12
#[ cfg( all( debug_assertions, not( target_os = "wasi" ) ) ) ]
@@ -430,7 +435,12 @@ impl Poll {
430
435
#[ cfg( all(
431
436
unix,
432
437
not( mio_unsupported_force_poll_poll) ,
433
- not( any( target_os = "espidf" , target_os = "solaris" , target_os = "vita" ) ) ,
438
+ not( any(
439
+ target_os = "espidf" ,
440
+ target_os = "hermit" ,
441
+ target_os = "solaris" ,
442
+ target_os = "vita"
443
+ ) ) ,
434
444
) ) ]
435
445
impl AsRawFd for Poll {
436
446
fn as_raw_fd ( & self ) -> RawFd {
@@ -721,7 +731,12 @@ impl fmt::Debug for Registry {
721
731
#[ cfg( all(
722
732
unix,
723
733
not( mio_unsupported_force_poll_poll) ,
724
- not( any( target_os = "espidf" , target_os = "solaris" , target_os = "vita" ) ) ,
734
+ not( any(
735
+ target_os = "espidf" ,
736
+ target_os = "hermit" ,
737
+ target_os = "solaris" ,
738
+ target_os = "vita"
739
+ ) ) ,
725
740
) ) ]
726
741
impl AsRawFd for Registry {
727
742
fn as_raw_fd ( & self ) -> RawFd {
@@ -733,7 +748,7 @@ cfg_os_poll! {
733
748
#[ cfg( all(
734
749
unix,
735
750
not( mio_unsupported_force_poll_poll) ,
736
- not( any( target_os = "espidf" , target_os = "solaris" , target_os = "vita" ) ) ,
751
+ not( any( target_os = "espidf" , target_os = "hermit" , target_os = " solaris", target_os = "vita" ) ) ,
737
752
) ) ]
738
753
#[ test]
739
754
pub fn as_raw_fd( ) {
0 commit comments