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 16:13:09 +0800
committer许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-01-23 20:51:29 +0800
commit7eaa6ec8f72d1fb1b34f4a65b21da434887694c5 (patch)
tree068c43e756aa5ac6bffecb81762b488a37f96d15
parentc7c1e4d6559a16b7db05a34249a9785d215a6d83 (diff)
downloadrust-7eaa6ec8f72d1fb1b34f4a65b21da434887694c5.tar.gz
rust-7eaa6ec8f72d1fb1b34f4a65b21da434887694c5.zip
tests: cleanup `tests/ui/process/try-wait.rs`
- Remove already stable feature gate and remove
  `#![allow(stable_features)]`.
- Replace `ignore-*` with `needs-subprocess`.
-rw-r--r--tests/ui/process/try-wait.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/ui/process/try-wait.rs b/tests/ui/process/try-wait.rs
index b6d026d802f..dcef43ad348 100644
--- a/tests/ui/process/try-wait.rs
+++ b/tests/ui/process/try-wait.rs
@@ -1,9 +1,5 @@
 //@ run-pass
-
-#![allow(stable_features)]
-//@ ignore-wasm32 no processes
-//@ ignore-sgx no processes
-#![feature(process_try_wait)]
+//@ needs-subprocess
 
 use std::env;
 use std::process::Command;