summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-07-05 18:08:56 +0200
committergnzlbg <gonzalobg88@gmail.com>2019-07-05 18:13:03 +0200
commit7fa6534858ccc512b2d6b9acc88db1aa2d26e587 (patch)
treee6911c6efca38139493a05c59e6d6fffbe5dc4bc /libc-test
parentab6e4a3f18ed080b9d24a45f4204cc43ce00ab32 (diff)
downloadrust-libc-7fa6534858ccc512b2d6b9acc88db1aa2d26e587.tar.gz
Fix FreeBSD and Appveyor
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index 555aee30c8..7006c03b00 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -473,6 +473,11 @@ fn test_windows(target: &str) {
}
});
+ cfg.skip_roundtrip(move |s| match s {
+ "dirent" | "statfs" | "utsname" | "utmpx" => true,
+ _ => false,
+ });
+
cfg.generate("../src/lib.rs", "main.rs");
}
@@ -1641,6 +1646,11 @@ fn test_freebsd(target: &str) {
(struct_ == "sigaction" && field == "sa_sigaction")
});
+ cfg.skip_roundtrip(move |s| match s {
+ "dirent" | "statfs" | "utsname" | "utmpx" => true,
+ _ => false,
+ });
+
cfg.generate("../src/lib.rs", "main.rs");
}