about summary refs log tree commit diff
path: root/src/libcoretest
diff options
context:
space:
mode:
authorRicho Healey <richo@psych0tik.net>2015-01-09 20:00:29 -0800
committerRicho Healey <richo@psych0tik.net>2015-01-11 21:14:30 -0800
commitc8442afeb066656c4f4db3ca8538ee5976b504f6 (patch)
treec73ee58b9dd5b8cf1bd86994a37e2c9f5c200ce9 /src/libcoretest
parente5bbe8244b8e8efefa26df4287f22fa3f059bd1c (diff)
downloadrust-c8442afeb066656c4f4db3ca8538ee5976b504f6.tar.gz
rust-c8442afeb066656c4f4db3ca8538ee5976b504f6.zip
powerpc: Add backend support for powerpc
Diffstat (limited to 'src/libcoretest')
-rw-r--r--src/libcoretest/mem.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libcoretest/mem.rs b/src/libcoretest/mem.rs
index 96b50e8bccb..39af76ff87b 100644
--- a/src/libcoretest/mem.rs
+++ b/src/libcoretest/mem.rs
@@ -22,7 +22,8 @@ fn size_of_basic() {
 #[cfg(any(target_arch = "x86",
           target_arch = "arm",
           target_arch = "mips",
-          target_arch = "mipsel"))]
+          target_arch = "mipsel",
+          target_arch = "powerpc"))]
 fn size_of_32() {
     assert_eq!(size_of::<uint>(), 4u);
     assert_eq!(size_of::<*const uint>(), 4u);
@@ -55,7 +56,8 @@ fn align_of_basic() {
 #[cfg(any(target_arch = "x86",
           target_arch = "arm",
           target_arch = "mips",
-          target_arch = "mipsel"))]
+          target_arch = "mipsel",
+          target_arch = "powerpc"))]
 fn align_of_32() {
     assert_eq!(align_of::<uint>(), 4u);
     assert_eq!(align_of::<*const uint>(), 4u);