From f849b818b67c9cd186eb7c75871ff191a66feb48 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sun, 20 Sep 2026 13:15:41 +0100 Subject: [PATCH] Stabilize `std::os::unix::process::CommandExt::chroot` (`process_chroot`) --- library/std/src/os/unix/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/os/unix/process.rs b/library/std/src/os/unix/process.rs index 9fa731de82691..b3b8b6ad8786e 100644 --- a/library/std/src/os/unix/process.rs +++ b/library/std/src/os/unix/process.rs @@ -213,7 +213,7 @@ pub impl(self) trait CommandExt { /// If no directory has been specified with [`process::Command::current_dir`], this will set the /// directory to `/`, to avoid leaving the current directory outside the chroot. (This is an /// intentional difference from the underlying `chroot` system call.) - #[unstable(feature = "process_chroot", issue = "141298")] + #[stable(feature = "process_chroot", since = "CURRENT_RUSTC_VERSION")] fn chroot>(&mut self, dir: P) -> &mut process::Command; #[unstable(feature = "process_setsid", issue = "105376")]