nix/sys/ptrace/
mod.rs

1///! Provides helpers for making ptrace system calls
2
3#[cfg(any(target_os = "android", target_os = "linux"))]
4mod linux;
5
6#[cfg(any(target_os = "android", target_os = "linux"))]
7pub use self::linux::*;
8
9#[cfg(any(
10    target_os = "dragonfly",
11    target_os = "freebsd",
12    target_os = "macos",
13    target_os = "netbsd",
14    target_os = "openbsd"
15))]
16mod bsd;
17
18#[cfg(any(
19    target_os = "dragonfly",
20    target_os = "freebsd",
21    target_os = "macos",
22    target_os = "netbsd",
23    target_os = "openbsd"
24))]
25pub use self::bsd::*;