Skip to content

Commit 6b59f91

Browse files
committed
Fix GH-2641: ptrace with unsigned int is only for uclibc/Linux glibc.
1 parent a72936d commit 6b59f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/ptrace/linux.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub type AddressType = *mut ::libc::c_void;
2424
use libc::user_regs_struct;
2525

2626
cfg_if! {
27-
if #[cfg(any(all(target_os = "linux", target_arch = "s390x"),
27+
if #[cfg(any(
2828
all(target_os = "linux", target_env = "gnu"),
2929
target_env = "uclibc"))] {
3030
#[doc(hidden)]

0 commit comments

Comments
 (0)