File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -1778,6 +1778,7 @@ fn test_freebsd(target: &str) {
1778
1778
_ => false ,
1779
1779
} ;
1780
1780
1781
+ #[ allow( warnings) ]
1781
1782
let freebsd14 = match freebsd_ver {
1782
1783
Some ( n) if n >= 14 => true ,
1783
1784
_ => false ,
@@ -2127,12 +2128,12 @@ fn test_freebsd(target: &str) {
2127
2128
"lio_listio" => true ,
2128
2129
2129
2130
// 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
+ // }
2136
2137
2137
2138
_ => false ,
2138
2139
}
@@ -3390,6 +3391,7 @@ fn which_freebsd() -> Option<i32> {
3390
3391
s if s. starts_with ( "11" ) => Some ( 11 ) ,
3391
3392
s if s. starts_with ( "12" ) => Some ( 12 ) ,
3392
3393
s if s. starts_with ( "13" ) => Some ( 13 ) ,
3394
+ s if s. starts_with ( "14" ) => Some ( 14 ) ,
3393
3395
_ => None ,
3394
3396
}
3395
3397
}
You can’t perform that action at this time.
0 commit comments