Skip to content

Commit 196b05b

Browse files
committed
Fix build on arm and s390x after recent libc changes
libc just removed some symbols on linux/arm32 and linux/s390x that never should've been defined in the first place. rust-lang/libc@24f8972 rust-lang/libc@d269543
1 parent 63aec50 commit 196b05b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/sys/ptrace/linux.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,31 +45,27 @@ libc_enum!{
4545
all(target_os = "linux", any(target_env = "musl",
4646
target_arch = "mips",
4747
target_arch = "mips64",
48-
target_arch = "s390x",
4948
target_arch = "x86_64",
5049
target_pointer_width = "32"))))]
5150
PTRACE_GETREGS,
5251
#[cfg(any(all(target_os = "android", target_pointer_width = "32"),
5352
all(target_os = "linux", any(target_env = "musl",
5453
target_arch = "mips",
5554
target_arch = "mips64",
56-
target_arch = "s390x",
5755
target_arch = "x86_64",
5856
target_pointer_width = "32"))))]
5957
PTRACE_SETREGS,
6058
#[cfg(any(all(target_os = "android", target_pointer_width = "32"),
6159
all(target_os = "linux", any(target_env = "musl",
6260
target_arch = "mips",
6361
target_arch = "mips64",
64-
target_arch = "s390x",
6562
target_arch = "x86_64",
6663
target_pointer_width = "32"))))]
6764
PTRACE_GETFPREGS,
6865
#[cfg(any(all(target_os = "android", target_pointer_width = "32"),
6966
all(target_os = "linux", any(target_env = "musl",
7067
target_arch = "mips",
7168
target_arch = "mips64",
72-
target_arch = "s390x",
7369
target_arch = "x86_64",
7470
target_pointer_width = "32"))))]
7571
PTRACE_SETFPREGS,
@@ -78,14 +74,12 @@ libc_enum!{
7874
#[cfg(all(target_os = "linux", any(target_env = "musl",
7975
target_arch = "mips",
8076
target_arch = "mips64",
81-
target_arch = "arm",
8277
target_arch = "x86",
8378
target_arch = "x86_64")))]
8479
PTRACE_GETFPXREGS,
8580
#[cfg(all(target_os = "linux", any(target_env = "musl",
8681
target_arch = "mips",
8782
target_arch = "mips64",
88-
target_arch = "arm",
8983
target_arch = "x86",
9084
target_arch = "x86_64")))]
9185
PTRACE_SETFPXREGS,

0 commit comments

Comments
 (0)