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 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 for process::ChildStdin { #[inline] fn from(fd: OwnedFd) -> process::ChildStdin { @@ -468,7 +468,7 @@ impl From 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 for process::ChildStdout { #[inline] fn from(fd: OwnedFd) -> process::ChildStdout { @@ -498,7 +498,7 @@ impl From 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 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 for process::ChildStdin { fn from(handle: OwnedHandle) -> process::ChildStdin { let handle = sys::handle::Handle::from_inner(handle); @@ -123,7 +123,7 @@ impl From 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 for process::ChildStdout { fn from(handle: OwnedHandle) -> process::ChildStdout { let handle = sys::handle::Handle::from_inner(handle); @@ -136,7 +136,7 @@ impl From 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 for process::ChildStderr { fn from(handle: OwnedHandle) -> process::ChildStderr { let handle = sys::handle::Handle::from_inner(handle);