--- a/tests/test.rs +++ b/tests/test.rs @@ -17,6 +17,7 @@ use std::time::Duration; use nix::errno; use nix::unistd::close; use plain::Plain; +#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))] use probe::probe; use scopeguard::defer; use std::ptr; @@ -1237,6 +1238,7 @@ fn test_sudo_object_map_handle_clone() { } #[test] +#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))] fn test_sudo_object_usdt() { bump_rlimit_mlock(); @@ -1266,6 +1268,7 @@ fn test_sudo_object_usdt() { } #[test] +#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))] fn test_sudo_object_usdt_cookie() { bump_rlimit_mlock();