about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-01-23 15:39:44 +0800
committer许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-01-23 20:51:28 +0800
commit5f63f2dac99a7d48d66e4385a66ef2b00a3d85a9 (patch)
tree8f996a38f837bdc52104a348074711a01bf8d711 /tests
parentc7f9c30e33f26d277b4b6fe5dcd4bfc8765f621d (diff)
downloadrust-5f63f2dac99a7d48d66e4385a66ef2b00a3d85a9.tar.gz
rust-5f63f2dac99a7d48d66e4385a66ef2b00a3d85a9.zip
tests: slightly cleanup `tests/ui/command/command-pre-exec.rs`
- Remove already stabilized feature gate and
  `#![allow(stable_features)]`.
- Convert `ignore-windows` to `only-unix`.
- Convert `ignore-*` to `needs-subprocess`.
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/command/command-pre-exec.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/ui/command/command-pre-exec.rs b/tests/ui/command/command-pre-exec.rs
index 7242dea2775..7299f357bd0 100644
--- a/tests/ui/command/command-pre-exec.rs
+++ b/tests/ui/command/command-pre-exec.rs
@@ -1,11 +1,9 @@
 //@ run-pass
-
-#![allow(stable_features)]
-//@ ignore-windows - this is a unix-specific test
-//@ ignore-wasm32 no processes
-//@ ignore-sgx no processes
+//@ only-unix (this is a unix-specific test)
+//@ needs-subprocess
 //@ ignore-fuchsia no execvp syscall
-#![feature(process_exec, rustc_private)]
+
+#![feature(rustc_private)]
 
 extern crate libc;