diff options
author | Geoffrey Thomas <geofft@ldpreload.com> | 2017-06-20 01:13:29 -0400 |
---|---|---|
committer | Geoffrey Thomas <geofft@ldpreload.com> | 2017-07-08 22:30:57 -0400 |
commit | 0bf5af584c11ffa22c452fb89dcbea70c03e018c (patch) | |
tree | becd6175b6484edd75e3160c712d61324a8b8403 /src/sys/mod.rs | |
parent | 46e77b57d51118278b2f224b4dd3cde0ad38aa8d (diff) | |
download | nix-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.rs | 6 |
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; |