From 8a6d6dd868371e2ffc035dc508fb255bb9cbc8a0 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 18 Apr 2013 14:10:13 -0700 Subject: 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. --- src/test/run-pass/extern-pass-TwoU32s.rs | 2 -- src/test/run-pass/extern-return-TwoU32s.rs | 2 -- 2 files changed, 4 deletions(-) (limited to 'src/test') 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 } -- cgit 1.4.1-3-g733a5