Skip to content

Commit

Permalink
Merge r196b05b5c from master
Browse files Browse the repository at this point in the history
commit 196b05b (fpxregs)
Author: Alan Somers <[email protected]>
Date:   Fri May 17 14:59:36 2019 -0600

    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
  • Loading branch information
asomers committed May 22, 2019
1 parent 5215a6d commit 52102cb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/sys/ptrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,31 +38,27 @@ libc_enum!{
all(target_os = "linux", any(target_env = "musl",
target_arch = "mips",
target_arch = "mips64",
target_arch = "s390x",
target_arch = "x86_64",
target_pointer_width = "32"))))]
PTRACE_GETREGS,
#[cfg(any(all(target_os = "android", target_pointer_width = "32"),
all(target_os = "linux", any(target_env = "musl",
target_arch = "mips",
target_arch = "mips64",
target_arch = "s390x",
target_arch = "x86_64",
target_pointer_width = "32"))))]
PTRACE_SETREGS,
#[cfg(any(all(target_os = "android", target_pointer_width = "32"),
all(target_os = "linux", any(target_env = "musl",
target_arch = "mips",
target_arch = "mips64",
target_arch = "s390x",
target_arch = "x86_64",
target_pointer_width = "32"))))]
PTRACE_GETFPREGS,
#[cfg(any(all(target_os = "android", target_pointer_width = "32"),
all(target_os = "linux", any(target_env = "musl",
target_arch = "mips",
target_arch = "mips64",
target_arch = "s390x",
target_arch = "x86_64",
target_pointer_width = "32"))))]
PTRACE_SETFPREGS,
Expand All @@ -71,14 +67,12 @@ libc_enum!{
#[cfg(all(target_os = "linux", any(target_env = "musl",
target_arch = "mips",
target_arch = "mips64",
target_arch = "arm",
target_arch = "x86",
target_arch = "x86_64")))]
PTRACE_GETFPXREGS,
#[cfg(all(target_os = "linux", any(target_env = "musl",
target_arch = "mips",
target_arch = "mips64",
target_arch = "arm",
target_arch = "x86",
target_arch = "x86_64")))]
PTRACE_SETFPXREGS,
Expand Down

0 comments on commit 52102cb

Please sign in to comment.