Skip to content

Commit e562c11

Browse files
committed
Add mips64 to excluded linux arch
1 parent c4b37bd commit e562c11

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/unistd.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -752,15 +752,19 @@ pub enum Whence {
752752
/// equal to offset that contains some data. If offset points to
753753
/// some data, then the file offset is set to offset.
754754
#[cfg(any(target_os = "dragonfly", target_os = "freebsd",
755-
all(target_os = "linux", not(any(target_env = "musl", target_arch = "mips")))))]
755+
all(target_os = "linux", not(any(target_env = "musl",
756+
target_arch = "mips",
757+
target_arch = "mips64")))))]
756758
SeekData = libc::SEEK_DATA,
757759
/// Specify an offset relative to the next hole in the file greater than
758760
/// or equal to offset. If offset points into the middle of a hole, then
759761
/// the file offset should be set to offset. If there is no hole past offset,
760762
/// then the file offset should be adjusted to the end of the file (i.e., there
761763
/// is an implicit hole at the end of any file).
762764
#[cfg(any(target_os = "dragonfly", target_os = "freebsd",
763-
all(target_os = "linux", not(any(target_env = "musl", target_arch = "mips")))))]
765+
all(target_os = "linux", not(any(target_env = "musl",
766+
target_arch = "mips",
767+
target_arch = "mips64")))))]
764768
SeekHole = libc::SEEK_HOLE
765769
}
766770

0 commit comments

Comments
 (0)