Skip to content

Commit 3c483fc

Browse files
committed
testing
1 parent 47fee3e commit 3c483fc

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

libc-test/build.rs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1778,6 +1778,7 @@ fn test_freebsd(target: &str) {
17781778
_ => false,
17791779
};
17801780

1781+
#[allow(warnings)]
17811782
let freebsd14 = match freebsd_ver {
17821783
Some(n) if n >= 14 => true,
17831784
_ => false,
@@ -2127,12 +2128,12 @@ fn test_freebsd(target: &str) {
21272128
"lio_listio" => true,
21282129

21292130
// FIXME:
2130-
"fstat" | "stat" | "fstatat" | "lstat" | "readdir" | "readdir_r" | "kevent"
2131-
| "shmctl" | "statfs" | "fstatfs"
2132-
if freebsd14 =>
2133-
{
2134-
true
2135-
}
2131+
//"fstat" | "stat" | "fstatat" | "lstat" | "readdir" | "readdir_r" | "kevent"
2132+
//| "shmctl" | "statfs" | "fstatfs"
2133+
// if freebsd14 =>
2134+
//{
2135+
// true
2136+
//}
21362137

21372138
_ => false,
21382139
}
@@ -3390,6 +3391,7 @@ fn which_freebsd() -> Option<i32> {
33903391
s if s.starts_with("11") => Some(11),
33913392
s if s.starts_with("12") => Some(12),
33923393
s if s.starts_with("13") => Some(13),
3394+
s if s.starts_with("14") => Some(14),
33933395
_ => None,
33943396
}
33953397
}

0 commit comments

Comments
 (0)