Remove mipsel target_arches

The `mipsel` `target_arch` was introduced with the initial MIPSel
support (rust-lang/rust@82ec1aef29),
but was subsequently removed with implementation of the Flexible Target
Specification (Rust RFC 0131,
rust-lang/rust@3a8f4ec32a).
Remove these to be consistent with other arches and reduce confusion.

I've very slightly formatted the deletions so as to not require a style
cleanup later and obscure `git blame` output.
This commit is contained in:
Wang Xuerui 2016-11-07 11:18:05 +08:00
parent d081938bf2
commit 0caba71691
1 changed files with 9 additions and 9 deletions

View File

@ -66,21 +66,21 @@ s! {
}
pub struct pthread_mutex_t {
#[cfg(any(target_arch = "mips", target_arch = "mipsel",
target_arch = "arm", target_arch = "powerpc"))]
#[cfg(any(target_arch = "mips", target_arch = "arm",
target_arch = "powerpc"))]
__align: [::c_long; 0],
#[cfg(not(any(target_arch = "mips", target_arch = "mipsel",
target_arch = "arm", target_arch = "powerpc")))]
#[cfg(not(any(target_arch = "mips", target_arch = "arm",
target_arch = "powerpc")))]
__align: [::c_longlong; 0],
size: [u8; __SIZEOF_PTHREAD_MUTEX_T],
}
pub struct pthread_rwlock_t {
#[cfg(any(target_arch = "mips", target_arch = "mipsel",
target_arch = "arm", target_arch = "powerpc"))]
#[cfg(any(target_arch = "mips", target_arch = "arm",
target_arch = "powerpc"))]
__align: [::c_long; 0],
#[cfg(not(any(target_arch = "mips", target_arch = "mipsel",
target_arch = "arm", target_arch = "powerpc")))]
#[cfg(not(any(target_arch = "mips", target_arch = "arm",
target_arch = "powerpc")))]
__align: [::c_longlong; 0],
size: [u8; __SIZEOF_PTHREAD_RWLOCK_T],
}
@ -736,7 +736,7 @@ cfg_if! {
target_os = "emscripten"))] {
mod musl;
pub use self::musl::*;
} else if #[cfg(any(target_arch = "mips", target_arch = "mipsel"))] {
} else if #[cfg(any(target_arch = "mips"))] {
mod mips;
pub use self::mips::*;
} else if #[cfg(any(target_arch = "s390x"))] {