summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2018-11-21 18:13:01 +0900
committerMike Hommey <mh@glandium.org>2018-11-21 18:13:30 +0900
commitc97a771f289c8ffd7f8a074225bcf36cc0e53ef9 (patch)
tree98e7cf343c5c5ed3866ffa890e1f620a3ca88eca
parent4d9a03e391a1f6626949e870e5c49e14d8944abb (diff)
downloadrust-libc-c97a771f289c8ffd7f8a074225bcf36cc0e53ef9.tar.gz
Add missing condition for musl mips64
unix::uclibc::mips has both support for mips and mips64, but it's currently only imported for mips.
-rw-r--r--src/unix/uclibc/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/uclibc/mod.rs b/src/unix/uclibc/mod.rs
index 03a8594f4f..acec6f3017 100644
--- a/src/unix/uclibc/mod.rs
+++ b/src/unix/uclibc/mod.rs
@@ -1950,7 +1950,7 @@ extern {
}
cfg_if! {
- if #[cfg(target_arch = "mips")] {
+ if #[cfg(any(target_arch = "mips", target_arch = "mips64"))] {
mod mips;
pub use self::mips::*;
} else if #[cfg(target_arch = "x86_64")] {