blob: 3df06c443c2bd87297f9cfedd0c1d5e689e20fd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#[cfg(any(target_os = "linux", target_os = "android"))]
pub mod epoll;
#[cfg(any(target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "openbsd"))]
pub mod event;
// TODO: switch from feature flags to conditional builds
#[cfg(feature = "eventfd")]
pub mod eventfd;
#[cfg(target_os = "linux")]
pub mod memfd;
#[cfg(not(any(target_os = "ios", target_os = "freebsd")))]
pub mod ioctl;
pub mod signal;
pub mod socket;
pub mod stat;
#[cfg(any(target_os = "linux", target_os = "android"))]
pub mod syscall;
#[cfg(not(target_os = "ios"))]
pub mod termios;
#[cfg(any(target_os = "linux", target_os = "android"))]
pub mod utsname;
pub mod wait;
pub mod mman;
pub mod uio;
pub mod time;
#[cfg(all(target_os = "linux",
any(target_arch = "x86",
target_arch = "x86_64",
target_arch = "arm")),
)]
pub mod ptrace;
|