@@ -1018,20 +1018,14 @@ pub enum Whence {
1018
1018
/// Specify an offset relative to the next location in the file greater than or
1019
1019
/// equal to offset that contains some data. If offset points to
1020
1020
/// some data, then the file offset is set to offset.
1021
- #[ cfg( any( target_os = "dragonfly" , target_os = "freebsd" ,
1022
- all( target_os = "linux" , not( any( target_env = "musl" ,
1023
- target_arch = "mips" ,
1024
- target_arch = "mips64" ) ) ) ) ) ]
1021
+ #[ cfg( any( target_os = "dragonfly" , target_os = "freebsd" , target_os = "linux" ) ) ]
1025
1022
SeekData = libc:: SEEK_DATA ,
1026
1023
/// Specify an offset relative to the next hole in the file greater than
1027
1024
/// or equal to offset. If offset points into the middle of a hole, then
1028
1025
/// the file offset should be set to offset. If there is no hole past offset,
1029
1026
/// then the file offset should be adjusted to the end of the file (i.e., there
1030
1027
/// is an implicit hole at the end of any file).
1031
- #[ cfg( any( target_os = "dragonfly" , target_os = "freebsd" ,
1032
- all( target_os = "linux" , not( any( target_env = "musl" ,
1033
- target_arch = "mips" ,
1034
- target_arch = "mips64" ) ) ) ) ) ]
1028
+ #[ cfg( any( target_os = "dragonfly" , target_os = "freebsd" , target_os = "linux" ) ) ]
1035
1029
SeekHole = libc:: SEEK_HOLE
1036
1030
}
1037
1031
0 commit comments