about summary refs log tree commit diff
path: root/src/libcore/sys.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/sys.rs')
-rw-r--r--src/libcore/sys.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/sys.rs b/src/libcore/sys.rs
index afc9d7f1417..ec3ab25a27d 100644
--- a/src/libcore/sys.rs
+++ b/src/libcore/sys.rs
@@ -166,6 +166,7 @@ pub mod tests {
     #[test]
     #[cfg(target_arch = "x86")]
     #[cfg(target_arch = "arm")]
+    #[cfg(target_arch = "mips")]
     pub fn size_of_32() {
         assert size_of::<uint>() == 4u;
         assert size_of::<*uint>() == 4u;
@@ -196,6 +197,7 @@ pub mod tests {
     #[test]
     #[cfg(target_arch = "x86")]
     #[cfg(target_arch = "arm")]
+    #[cfg(target_arch = "mips")]
     pub fn align_of_32() {
         assert pref_align_of::<uint>() == 4u;
         assert pref_align_of::<*uint>() == 4u;