diff options
Diffstat (limited to 'test/sys/test_ptrace.rs')
-rw-r--r-- | test/sys/test_ptrace.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sys/test_ptrace.rs b/test/sys/test_ptrace.rs index debc4517..a15a7921 100644 --- a/test/sys/test_ptrace.rs +++ b/test/sys/test_ptrace.rs @@ -3,6 +3,7 @@ use nix::errno::Errno; use nix::unistd::getpid; use nix::sys::ptrace::{self, Options}; +#[cfg(any(target_os = "android", target_os = "linux"))] use std::mem; #[test] |