Skip to content

Commit

Permalink
Fix cfg conditionals in tests/process.rs.
Browse files Browse the repository at this point in the history
  • Loading branch information
igankevich committed Dec 30, 2024
1 parent 51af696 commit dd27a47
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions tests/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,24 @@
feature = "net",
feature = "os-proc",
any(
// pidfd
any(
target_os = "android",
target_os = "illumos",
target_os = "linux",
target_os = "redox",
),
// kqueue
// pidfd (should be the same as in `cfg_os_proc_pidfd` macro)
any(target_os = "android", target_os = "linux"),
// kqueue (should be the same as in `cfg_os_proc_kqueue` macro)
all(
not(mio_unsupported_force_poll_poll),
any(
target_os = "dragonfly",
target_os = "freebsd",
target_os = "ios",
target_os = "macos",
target_os = "netbsd",
target_os = "openbsd",
target_os = "tvos",
target_os = "visionos",
target_os = "watchos",
),
),
// windows (should be the same as in `cfg_os_proc_job_object` macro)
windows,
),
))]
Expand Down

0 comments on commit dd27a47

Please sign in to comment.