File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ impl FileDescriptor for Epoll {
29
29
Ok ( Box :: new ( self . clone ( ) ) )
30
30
}
31
31
32
+ fn is_tty ( & self ) -> bool {
33
+ false
34
+ }
35
+
32
36
fn close < ' tcx > (
33
37
self : Box < Self > ,
34
38
_communicate_allowed : bool ,
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ impl FileDescriptor for Event {
18
18
Ok ( Box :: new ( Event { val : self . val } ) )
19
19
}
20
20
21
+ fn is_tty ( & self ) -> bool {
22
+ false
23
+ }
24
+
21
25
fn write < ' tcx > (
22
26
& self ,
23
27
_communicate_allowed : bool ,
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ impl FileDescriptor for SocketPair {
16
16
Ok ( Box :: new ( SocketPair ) )
17
17
}
18
18
19
+ fn is_tty ( & self ) -> bool {
20
+ false
21
+ }
22
+
19
23
fn close < ' tcx > (
20
24
self : Box < Self > ,
21
25
_communicate_allowed : bool ,
Original file line number Diff line number Diff line change 2
2
//@only-target-linux: the errors differ too much between platforms
3
3
4
4
#[ tokio:: main]
5
+ #[ cfg( target_arch = "x86_64" ) ]
5
6
async fn main ( ) { }
7
+
8
+ #[ cfg( target_arch = "not_x86_64" ) ]
9
+ fn main ( ) { }
You can’t perform that action at this time.
0 commit comments