File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed
branches/tmp/src/libstd/sys/unix Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,6 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34
34
refs/heads/beta: 522d09dfecbeca1595f25ac58c6d0178bbd21d7d
35
35
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
36
36
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37
- refs/heads/tmp: 0b01a9bb4b93e3f763b4ab924179462b415991d4
37
+ refs/heads/tmp: 04c947c13a180e00ce87970ac573862247c69cde
38
38
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
39
39
refs/tags/homu-tmp: 4a5101a42f8ea36bdbe14749e672ab78cb971726
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ pub struct TTY {
23
23
}
24
24
25
25
#[ cfg( any( target_os = "macos" ,
26
+ target_os = "ios" ,
27
+ target_os = "dragonfly" ,
26
28
target_os = "freebsd" ,
27
29
target_os = "bitrig" ,
28
30
target_os = "openbsd" ) ) ]
@@ -54,12 +56,6 @@ impl TTY {
54
56
Err ( sys_common:: unimpl ( ) )
55
57
}
56
58
57
- #[ cfg( any( target_os = "linux" ,
58
- target_os = "android" ,
59
- target_os = "macos" ,
60
- target_os = "freebsd" ,
61
- target_os = "bitrig" ,
62
- target_os = "openbsd" ) ) ]
63
59
pub fn get_winsize ( & mut self ) -> IoResult < ( int , int ) > {
64
60
unsafe {
65
61
#[ repr( C ) ]
@@ -82,10 +78,4 @@ impl TTY {
82
78
}
83
79
}
84
80
}
85
-
86
- #[ cfg( any( target_os = "ios" ,
87
- target_os = "dragonfly" ) ) ]
88
- pub fn get_winsize ( & mut self ) -> IoResult < ( int , int ) > {
89
- Err ( sys_common:: unimpl ( ) )
90
- }
91
81
}
You can’t perform that action at this time.
0 commit comments