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:06:02 +0800
committer许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-01-23 20:51:29 +0800
commit635a06b5955587002639e8eaf7d0941d4265b70c (patch)
tree71b578c89b30acfcf5cf31e273e817b5a4458b81
parent02c003b50e18831636f851a4602f686db20fbd1e (diff)
downloadrust-635a06b5955587002639e8eaf7d0941d4265b70c.tar.gz
rust-635a06b5955587002639e8eaf7d0941d4265b70c.zip
tests: cleanup `tests/ui/process/process-exit.rs`
- Remove unnecessary `#![allow(unused_imports)]`.
- Replace `ignore-*` with `needs-subprocess`.
-rw-r--r--tests/ui/process/process-exit.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/ui/process/process-exit.rs b/tests/ui/process/process-exit.rs
index a75a7306cbc..a1ed243b62b 100644
--- a/tests/ui/process/process-exit.rs
+++ b/tests/ui/process/process-exit.rs
@@ -1,10 +1,8 @@
 //@ run-pass
-#![allow(unused_imports)]
-//@ ignore-wasm32 no processes
-//@ ignore-sgx no processes
+//@ needs-subprocess
 
 use std::env;
-use std::process::{self, Command, Stdio};
+use std::process::{self, Command};
 
 fn main() {
     let args: Vec<String> = env::args().collect();