about summary refs log tree commit diff
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-01-23 15:57:55 +0800
committer许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-01-23 20:51:29 +0800
commit2632fdc2982e7cb21cc2458d13c8732f0864d53e (patch)
tree793b77e4b88227cd62133607ecf608d2e50040ff
parentbfc553eb5301ebdc1364cb8f0acbba3d9f9f9da2 (diff)
downloadrust-2632fdc2982e7cb21cc2458d13c8732f0864d53e.tar.gz
rust-2632fdc2982e7cb21cc2458d13c8732f0864d53e.zip
tests: cleanup `tests/ui/process/core-run-destroy.rs`
- Remove redundant `#![allow(stable_features)]`.
- Replace `ignore-*` with `needs-subprocess`.
-rw-r--r--tests/ui/process/core-run-destroy.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/ui/process/core-run-destroy.rs b/tests/ui/process/core-run-destroy.rs
index 3f2ea0e8441..b4815c9dfbb 100644
--- a/tests/ui/process/core-run-destroy.rs
+++ b/tests/ui/process/core-run-destroy.rs
@@ -1,12 +1,11 @@
 //@ run-pass
 
 #![allow(unused_must_use)]
-#![allow(stable_features)]
 #![allow(deprecated)]
 #![allow(unused_imports)]
+
 //@ compile-flags:--test
-//@ ignore-wasm32 no processes
-//@ ignore-sgx no processes
+//@ needs-subprocess
 //@ ignore-vxworks no 'cat' and 'sleep'
 //@ ignore-fuchsia no 'cat'