Skip to content

Commit

Permalink
fix sparc64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Sep 3, 2024
1 parent 746de55 commit a6bbd4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3593,9 +3593,6 @@ fn test_linux(target: &str) {
if sparc64 && (ty == "Elf32_Rela" || ty == "Elf64_Rela") {
return true;
}
if sparc64 && ty == "fanotify_event_info_error" {
return true;
}
match ty {
// FIXME: `sighandler_t` type is incorrect, see:
// https://github.com/rust-lang/libc/issues/1359
Expand Down Expand Up @@ -3685,6 +3682,9 @@ fn test_linux(target: &str) {
if musl && ty == "fanout_args" {
return true;
}
if sparc64 && ty == "fanotify_event_info_error" {
return true;
}

match ty {
// These cannot be tested when "resolv.h" is included and are tested
Expand Down

0 comments on commit a6bbd4b

Please sign in to comment.