about summary refs log tree commit diff
path: root/library/std/src/os/unix
diff options
context:
space:
mode:
authorBoxy <rust@boxyuwu.dev>2024-09-05 17:23:40 +0100
committerBoxy <rust@boxyuwu.dev>2024-09-05 17:24:01 +0100
commit0091b8ab2a16aea880e2fe5d3c876f4f743640d5 (patch)
treeca11d992224c243236c438da5db5d151479dbe16 /library/std/src/os/unix
parenta9998704d378dcb7bf399a5835dab1d22543c01f (diff)
update cfgs
Diffstat (limited to 'library/std/src/os/unix')
-rw-r--r--library/std/src/os/unix/process.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/library/std/src/os/unix/process.rs b/library/std/src/os/unix/process.rs
index 46202441d4e..9aadd949116 100644
--- a/library/std/src/os/unix/process.rs
+++ b/library/std/src/os/unix/process.rs
@@ -118,11 +118,7 @@ pub trait CommandExt: Sealed {
     /// [`pre_exec`]: CommandExt::pre_exec
     #[stable(feature = "process_exec", since = "1.15.0")]
     #[deprecated(since = "1.37.0", note = "should be unsafe, use `pre_exec` instead")]
-    #[cfg_attr(bootstrap, rustc_deprecated_safe_2024)]
-    #[cfg_attr(
-        not(bootstrap),
-        rustc_deprecated_safe_2024(audit_that = "the closure is async-signal-safe")
-    )]
+    #[rustc_deprecated_safe_2024(audit_that = "the closure is async-signal-safe")]
     unsafe fn before_exec<F>(&mut self, f: F) -> &mut process::Command
     where
         F: FnMut() -> io::Result<()> + Send + Sync + 'static,