Skip to content

Commit a6bbd4b

Browse files
committed
fix sparc64 build
1 parent 746de55 commit a6bbd4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libc-test/build.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3593,9 +3593,6 @@ fn test_linux(target: &str) {
35933593
if sparc64 && (ty == "Elf32_Rela" || ty == "Elf64_Rela") {
35943594
return true;
35953595
}
3596-
if sparc64 && ty == "fanotify_event_info_error" {
3597-
return true;
3598-
}
35993596
match ty {
36003597
// FIXME: `sighandler_t` type is incorrect, see:
36013598
// https://github.com/rust-lang/libc/issues/1359
@@ -3685,6 +3682,9 @@ fn test_linux(target: &str) {
36853682
if musl && ty == "fanout_args" {
36863683
return true;
36873684
}
3685+
if sparc64 && ty == "fanotify_event_info_error" {
3686+
return true;
3687+
}
36883688

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

0 commit comments

Comments
 (0)