Skip to content

Commit 27fdd60

Browse files
Stabilize windows_process_extensions_main_thread_handle
Giving access to `std::os::windows::process::ChildExt::main_thread_handle()`.
1 parent 701a651 commit 27fdd60

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

library/std/src/os/windows/process.rs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -435,14 +435,23 @@ impl CommandExt for process::Command {
435435
}
436436
}
437437

438-
#[unstable(feature = "windows_process_extensions_main_thread_handle", issue = "96723")]
438+
#[stable(
439+
feature = "windows_process_extensions_main_thread_handle",
440+
since = "CURRENT_RUSTC_VERSION"
441+
)]
439442
pub impl(self) trait ChildExt {
440443
/// Extracts the main thread raw handle, without taking ownership
441-
#[unstable(feature = "windows_process_extensions_main_thread_handle", issue = "96723")]
444+
#[stable(
445+
feature = "windows_process_extensions_main_thread_handle",
446+
since = "CURRENT_RUSTC_VERSION"
447+
)]
442448
fn main_thread_handle(&self) -> BorrowedHandle<'_>;
443449
}
444450

445-
#[unstable(feature = "windows_process_extensions_main_thread_handle", issue = "96723")]
451+
#[stable(
452+
feature = "windows_process_extensions_main_thread_handle",
453+
since = "CURRENT_RUSTC_VERSION"
454+
)]
446455
impl ChildExt for process::Child {
447456
fn main_thread_handle(&self) -> BorrowedHandle<'_> {
448457
self.handle.main_thread_handle()

0 commit comments

Comments
 (0)