summaryrefslogtreecommitdiff
path: root/src/sys/mod.rs
diff options
context:
space:
mode:
authorGeoffrey Thomas <geofft@ldpreload.com>2017-06-20 01:13:29 -0400
committerGeoffrey Thomas <geofft@ldpreload.com>2017-07-08 22:30:57 -0400
commit0bf5af584c11ffa22c452fb89dcbea70c03e018c (patch)
treebecd6175b6484edd75e3160c712d61324a8b8403 /src/sys/mod.rs
parent46e77b57d51118278b2f224b4dd3cde0ad38aa8d (diff)
downloadnix-0bf5af584c11ffa22c452fb89dcbea70c03e018c.zip
Enable ptrace on all Linux platforms
Nothing that nix currently binds is architecture-specific, and Android supports ptrace just as much as non-Android Linux.
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r--src/sys/mod.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs
index 69632f00..783b8364 100644
--- a/src/sys/mod.rs
+++ b/src/sys/mod.rs
@@ -52,11 +52,7 @@ pub mod uio;
pub mod time;
-#[cfg(all(target_os = "linux",
- any(target_arch = "x86",
- target_arch = "x86_64",
- target_arch = "arm")),
- )]
+#[cfg(any(target_os = "linux", target_os = "android"))]
pub mod ptrace;
pub mod select;