about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-04-18 14:10:13 -0700
committerBrian Anderson <banderson@mozilla.com>2013-04-18 14:14:17 -0700
commit8a6d6dd868371e2ffc035dc508fb255bb9cbc8a0 (patch)
treeee4eea7f7415001a271afc2cb67b87d9d793006c /src/test
parentb329f2fa82185c9e7c6bbbdf26270dd839618e9c (diff)
downloadrust-8a6d6dd868371e2ffc035dc508fb255bb9cbc8a0.tar.gz
rust-8a6d6dd868371e2ffc035dc508fb255bb9cbc8a0.zip
rustc: Fix struct returns on x86 mac for 8-byte structs
Mac appears to follow the same ABI as MSVC. This fixes one case
but leaves others broken, like windows.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/extern-pass-TwoU32s.rs2
-rw-r--r--src/test/run-pass/extern-return-TwoU32s.rs2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/test/run-pass/extern-pass-TwoU32s.rs b/src/test/run-pass/extern-pass-TwoU32s.rs
index db040b8407a..16d14a96cfe 100644
--- a/src/test/run-pass/extern-pass-TwoU32s.rs
+++ b/src/test/run-pass/extern-pass-TwoU32s.rs
@@ -11,8 +11,6 @@
 // Test a foreign function that accepts and returns a struct
 // by value.
 
-// xfail-macos Broken on mac i686
-
 #[deriving(Eq)]
 struct TwoU32s {
     one: u32, two: u32
diff --git a/src/test/run-pass/extern-return-TwoU32s.rs b/src/test/run-pass/extern-return-TwoU32s.rs
index 38e61ae6d49..9e374687855 100644
--- a/src/test/run-pass/extern-return-TwoU32s.rs
+++ b/src/test/run-pass/extern-return-TwoU32s.rs
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// xfail-macos Broken on mac i686
-
 struct TwoU32s {
     one: u32, two: u32
 }