File tree 1 file changed +0
-3
lines changed
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ impl Read for StdinRaw {
98
98
}
99
99
}
100
100
impl StdinRaw {
101
- #[ cfg( any( unix, windows) ) ]
102
101
#[ stable( since = "1.46.0" , feature = "stdin_nonblocking" ) ]
103
102
pub unsafe fn set_nonblocking ( & self , nonblocking : bool ) -> io:: Result < ( ) > {
104
103
self . 0 . set_nonblocking ( nonblocking)
@@ -394,7 +393,6 @@ impl Stdin {
394
393
/// Ok(())
395
394
/// }
396
395
/// ```
397
- #[ cfg( any( unix, windows) ) ]
398
396
#[ stable( since = "1.46.0" , feature = "stdin_nonblocking" ) ]
399
397
pub unsafe fn set_nonblocking ( & self , nonblocking : bool ) -> io:: Result < ( ) > {
400
398
self . lock ( ) . set_nonblocking ( nonblocking)
@@ -495,7 +493,6 @@ impl StdinLock<'_> {
495
493
/// Ok(())
496
494
/// }
497
495
/// ```
498
- #[ cfg( any( unix, windows) ) ]
499
496
#[ stable( since = "1.46.0" , feature = "stdin_nonblocking" ) ]
500
497
pub unsafe fn set_nonblocking ( & self , nonblocking : bool ) -> io:: Result < ( ) > {
501
498
match self . inner . get_ref ( ) {
You can’t perform that action at this time.
0 commit comments