target_arch is always powerpc64, remove powerpc64le check

We no longer need to check for powerpc64le, so remove it.
This commit is contained in:
Anton Blanchard 2016-02-09 23:02:51 +00:00
parent 1179ac7c6b
commit 6e6ff6a2a0
3 changed files with 4 additions and 7 deletions

View File

@ -84,11 +84,9 @@ s! {
}
pub struct pthread_mutexattr_t {
#[cfg(any(target_arch = "x86_64", target_arch = "powerpc64",
target_arch = "powerpc64le"))]
#[cfg(any(target_arch = "x86_64", target_arch = "powerpc64"))]
__align: [::c_int; 0],
#[cfg(not(any(target_arch = "x86_64", target_arch = "powerpc64",
target_arch = "powerpc64le")))]
#[cfg(not(any(target_arch = "x86_64", target_arch = "powerpc64")))]
__align: [::c_long; 0],
size: [u8; __SIZEOF_PTHREAD_MUTEXATTR_T],
}

View File

@ -22,7 +22,7 @@ cfg_if! {
if #[cfg(target_arch = "aarch64")] {
mod aarch64;
pub use self::aarch64::*;
} else if #[cfg(any(target_arch = "powerpc64", target_arch = "powerpc64le"))] {
} else if #[cfg(any(target_arch = "powerpc64"))] {
mod powerpc64;
pub use self::powerpc64::*;
} else {

View File

@ -454,8 +454,7 @@ cfg_if! {
pub use self::b32::*;
} else if #[cfg(any(target_arch = "x86_64",
target_arch = "aarch64",
target_arch = "powerpc64",
target_arch = "powerpc64le"))] {
target_arch = "powerpc64"))] {
mod b64;
pub use self::b64::*;
} else {