about summary refs log tree commit diff
path: root/library/std/src/os
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2023-09-28 00:13:02 -0700
committerDavid Tolnay <dtolnay@gmail.com>2023-09-28 00:13:02 -0700
commit9bdf9e754e82cadfacdb081ef2b0a0fe8df9be25 (patch)
treecf94badb16f3a6667cec040ddea48329b2f96a20 /library/std/src/os
parent9de32a7a3b7928b3679118cf423fd69246de8784 (diff)
downloadrust-9bdf9e754e82cadfacdb081ef2b0a0fe8df9be25.tar.gz
rust-9bdf9e754e82cadfacdb081ef2b0a0fe8df9be25.zip
Update stability attribute for child stream From impls
Diffstat (limited to 'library/std/src/os')
-rw-r--r--library/std/src/os/unix/process.rs6
-rw-r--r--library/std/src/os/windows/process.rs6
2 files changed, 6 insertions, 6 deletions
diff --git a/library/std/src/os/unix/process.rs b/library/std/src/os/unix/process.rs
index 95f10bcb04e..80eae4a6392 100644
--- a/library/std/src/os/unix/process.rs
+++ b/library/std/src/os/unix/process.rs
@@ -438,7 +438,7 @@ impl From<crate::process::ChildStdin> for OwnedFd {
 ///
 /// The provided file descriptor must point to a pipe
 /// with the `CLOEXEC` flag set.
-#[stable(feature = "io_safety", since = "1.63.0")]
+#[stable(feature = "child_stream_from_fd", since = "CURRENT_RUSTC_VERSION")]
 impl From<OwnedFd> for process::ChildStdin {
     #[inline]
     fn from(fd: OwnedFd) -> process::ChildStdin {
@@ -468,7 +468,7 @@ impl From<crate::process::ChildStdout> for OwnedFd {
 ///
 /// The provided file descriptor must point to a pipe
 /// with the `CLOEXEC` flag set.
-#[stable(feature = "io_safety", since = "1.63.0")]
+#[stable(feature = "child_stream_from_fd", since = "CURRENT_RUSTC_VERSION")]
 impl From<OwnedFd> for process::ChildStdout {
     #[inline]
     fn from(fd: OwnedFd) -> process::ChildStdout {
@@ -498,7 +498,7 @@ impl From<crate::process::ChildStderr> for OwnedFd {
 ///
 /// The provided file descriptor must point to a pipe
 /// with the `CLOEXEC` flag set.
-#[stable(feature = "io_safety", since = "1.63.0")]
+#[stable(feature = "child_stream_from_fd", since = "CURRENT_RUSTC_VERSION")]
 impl From<OwnedFd> for process::ChildStderr {
     #[inline]
     fn from(fd: OwnedFd) -> process::ChildStderr {
diff --git a/library/std/src/os/windows/process.rs b/library/std/src/os/windows/process.rs
index 2f989a77f14..875b531c5ca 100644
--- a/library/std/src/os/windows/process.rs
+++ b/library/std/src/os/windows/process.rs
@@ -110,7 +110,7 @@ impl IntoRawHandle for process::ChildStderr {
 ///
 /// The provided handle must be asynchronous, as reading and
 /// writing from and to it is implemented using asynchronous APIs.
-#[stable(feature = "io_safety", since = "1.63.0")]
+#[stable(feature = "child_stream_from_fd", since = "CURRENT_RUSTC_VERSION")]
 impl From<OwnedHandle> for process::ChildStdin {
     fn from(handle: OwnedHandle) -> process::ChildStdin {
         let handle = sys::handle::Handle::from_inner(handle);
@@ -123,7 +123,7 @@ impl From<OwnedHandle> for process::ChildStdin {
 ///
 /// The provided handle must be asynchronous, as reading and
 /// writing from and to it is implemented using asynchronous APIs.
-#[stable(feature = "io_safety", since = "1.63.0")]
+#[stable(feature = "child_stream_from_fd", since = "CURRENT_RUSTC_VERSION")]
 impl From<OwnedHandle> for process::ChildStdout {
     fn from(handle: OwnedHandle) -> process::ChildStdout {
         let handle = sys::handle::Handle::from_inner(handle);
@@ -136,7 +136,7 @@ impl From<OwnedHandle> for process::ChildStdout {
 ///
 /// The provided handle must be asynchronous, as reading and
 /// writing from and to it is implemented using asynchronous APIs.
-#[stable(feature = "io_safety", since = "1.63.0")]
+#[stable(feature = "child_stream_from_fd", since = "CURRENT_RUSTC_VERSION")]
 impl From<OwnedHandle> for process::ChildStderr {
     fn from(handle: OwnedHandle) -> process::ChildStderr {
         let handle = sys::handle::Handle::from_inner(handle);