File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed
branches/auto/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 @@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
10
10
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
11
11
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
12
12
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13
- refs/heads/auto: 0b01a9bb4b93e3f763b4ab924179462b415991d4
13
+ refs/heads/auto: 04c947c13a180e00ce87970ac573862247c69cde
14
14
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
15
15
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
16
16
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
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