Skip to content

Commit

Permalink
tests: slightly cleanup tests/ui/command/command-pre-exec.rs
Browse files Browse the repository at this point in the history
- Remove already stabilized feature gate and
  `#![allow(stable_features)]`.
- Convert `ignore-windows` to `only-unix`.
- Convert `ignore-*` to `needs-subprocess`.
  • Loading branch information
jieyouxu committed Jan 23, 2025
1 parent c7f9c30 commit 5f63f2d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/ui/command/command-pre-exec.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 5f63f2d

Please sign in to comment.