about summary refs log tree commit diff
path: root/src/libcore/mem.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-24 13:46:54 +0000
committerbors <bors@rust-lang.org>2014-06-24 13:46:54 +0000
commit82ec1aef293ddc5c6373bd7f5ec323fafbdf7901 (patch)
tree52730fbfa9ef29c85dd537fbd13829275e180504 /src/libcore/mem.rs
parent71fe44def9676d519f5ce5d7304e581a42cf2c70 (diff)
parent34a384a128d9630679f9c90bb27eaa0822e5b798 (diff)
auto merge of #14963 : w3ln4/rust/master, r=alexcrichton
The aim of these changes is not working out a generic bi-endianness architectures support but to allow people develop for little endian MIPS machines (issue #7190).
Diffstat (limited to 'src/libcore/mem.rs')
-rw-r--r--src/libcore/mem.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs
index 5280ac0d64f..6b97e6479df 100644
--- a/src/libcore/mem.rs
+++ b/src/libcore/mem.rs
@@ -404,6 +404,7 @@ mod tests {
     #[cfg(target_arch = "x86")]
     #[cfg(target_arch = "arm")]
     #[cfg(target_arch = "mips")]
+    #[cfg(target_arch = "mipsel")]
     fn size_of_32() {
         assert_eq!(size_of::<uint>(), 4u);
         assert_eq!(size_of::<*uint>(), 4u);
@@ -435,6 +436,7 @@ mod tests {
     #[cfg(target_arch = "x86")]
     #[cfg(target_arch = "arm")]
     #[cfg(target_arch = "mips")]
+    #[cfg(target_arch = "mipsel")]
     fn align_of_32() {
         assert_eq!(align_of::<uint>(), 4u);
         assert_eq!(align_of::<*uint>(), 4u);