@@ -12,88 +12,88 @@ pub fn pipe() -> io::Result<(AnonPipe, AnonPipe)> {
12
12
anon_pipe ( ) . map ( |( rx, wx) | ( rx. into_inner ( ) , wx. into_inner ( ) ) )
13
13
}
14
14
15
- #[ unstable ( feature = "anonymous_pipe" , issue = "127154 " ) ]
15
+ #[ stable ( feature = "anonymous_pipe" , since = "CURRENT_RUSTC_VERSION " ) ]
16
16
impl AsFd for PipeReader {
17
17
fn as_fd ( & self ) -> BorrowedFd < ' _ > {
18
18
self . 0 . as_fd ( )
19
19
}
20
20
}
21
- #[ unstable ( feature = "anonymous_pipe" , issue = "127154 " ) ]
21
+ #[ stable ( feature = "anonymous_pipe" , since = "CURRENT_RUSTC_VERSION " ) ]
22
22
impl AsRawFd for PipeReader {
23
23
fn as_raw_fd ( & self ) -> RawFd {
24
24
self . 0 . as_raw_fd ( )
25
25
}
26
26
}
27
- #[ unstable ( feature = "anonymous_pipe" , issue = "127154 " ) ]
27
+ #[ stable ( feature = "anonymous_pipe" , since = "CURRENT_RUSTC_VERSION " ) ]
28
28
impl From < PipeReader > for OwnedFd {
29
29
fn from ( pipe : PipeReader ) -> Self {
30
30
FileDesc :: into_inner ( pipe. 0 )
31
31
}
32
32
}
33
- #[ unstable ( feature = "anonymous_pipe" , issue = "127154 " ) ]
33
+ #[ stable ( feature = "anonymous_pipe" , since = "CURRENT_RUSTC_VERSION " ) ]
34
34
impl FromRawFd for PipeReader {
35
35
unsafe fn from_raw_fd ( raw_fd : RawFd ) -> Self {
36
36
unsafe { Self ( FileDesc :: from_raw_fd ( raw_fd) ) }
37
37
}
38
38
}
39
- #[ unstable ( feature = "anonymous_pipe" , issue = "127154 " ) ]
39
+ #[ stable ( feature = "anonymous_pipe" , since = "CURRENT_RUSTC_VERSION " ) ]
40
40
impl IntoRawFd for PipeReader {
41
41
fn into_raw_fd ( self ) -> RawFd {
42
42
self . 0 . into_raw_fd ( )
43
43
}
44
44
}
45
- #[ unstable ( feature = "anonymous_pipe" , issue = "127154 " ) ]
45
+ #[ stable ( feature = "anonymous_pipe" , since = "CURRENT_RUSTC_VERSION " ) ]
46
46
impl From < PipeReader > for Stdio {
47
47
fn from ( pipe : PipeReader ) -> Self {
48
48
Self :: from ( OwnedFd :: from ( pipe) )
49
49
}
50
50
}
51
51
52
- #[ unstable ( feature = "anonymous_pipe" , issue = "127154 " ) ]
52
+ #[ stable ( feature = "anonymous_pipe" , since = "CURRENT_RUSTC_VERSION " ) ]
53
53
impl AsFd for PipeWriter {
54
54
fn as_fd ( & self ) -> BorrowedFd < ' _ > {
55
55
self . 0 . as_fd ( )
56
56
}
57
57
}
58
- #[ unstable ( feature = "anonymous_pipe" , issue = "127154 " ) ]
58
+ #[ stable ( feature = "anonymous_pipe" , since = "CURRENT_RUSTC_VERSION " ) ]
59
59
impl AsRawFd for PipeWriter {
60
60
fn as_raw_fd ( & self ) -> RawFd {
61
61
self . 0 . as_raw_fd ( )
62
62
}
63
63
}
64
- #[ unstable ( feature = "anonymous_pipe" , issue = "127154 " ) ]
64
+ #[ stable ( feature = "anonymous_pipe" , since = "CURRENT_RUSTC_VERSION " ) ]
65
65
impl From < PipeWriter > for OwnedFd {
66
66
fn from ( pipe : PipeWriter ) -> Self {
67
67
FileDesc :: into_inner ( pipe. 0 )
68
68
}
69
69
}
70
- #[ unstable ( feature = "anonymous_pipe" , issue = "127154 " ) ]
70
+ #[ stable ( feature = "anonymous_pipe" , since = "CURRENT_RUSTC_VERSION " ) ]
71
71
impl FromRawFd for PipeWriter {
72
72
unsafe fn from_raw_fd ( raw_fd : RawFd ) -> Self {
73
73
unsafe { Self ( FileDesc :: from_raw_fd ( raw_fd) ) }
74
74
}
75
75
}
76
- #[ unstable ( feature = "anonymous_pipe" , issue = "127154 " ) ]
76
+ #[ stable ( feature = "anonymous_pipe" , since = "CURRENT_RUSTC_VERSION " ) ]
77
77
impl IntoRawFd for PipeWriter {
78
78
fn into_raw_fd ( self ) -> RawFd {
79
79
self . 0 . into_raw_fd ( )
80
80
}
81
81
}
82
- #[ unstable ( feature = "anonymous_pipe" , issue = "127154 " ) ]
82
+ #[ stable ( feature = "anonymous_pipe" , since = "CURRENT_RUSTC_VERSION " ) ]
83
83
impl From < PipeWriter > for Stdio {
84
84
fn from ( pipe : PipeWriter ) -> Self {
85
85
Self :: from ( OwnedFd :: from ( pipe) )
86
86
}
87
87
}
88
88
89
- #[ unstable ( feature = "anonymous_pipe" , issue = "127154 " ) ]
89
+ #[ stable ( feature = "anonymous_pipe" , since = "CURRENT_RUSTC_VERSION " ) ]
90
90
impl From < OwnedFd > for PipeReader {
91
91
fn from ( owned_fd : OwnedFd ) -> Self {
92
92
Self ( FileDesc :: from_inner ( owned_fd) )
93
93
}
94
94
}
95
95
96
- #[ unstable ( feature = "anonymous_pipe" , issue = "127154 " ) ]
96
+ #[ stable ( feature = "anonymous_pipe" , since = "CURRENT_RUSTC_VERSION " ) ]
97
97
impl From < OwnedFd > for PipeWriter {
98
98
fn from ( owned_fd : OwnedFd ) -> Self {
99
99
Self ( FileDesc :: from_inner ( owned_fd) )
0 commit comments