diff options
| author | Josh Stone <jistone@redhat.com> | 2017-08-30 12:26:01 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2017-09-01 18:21:29 -0700 |
| commit | f7c97040242fc689106455a73c41477bf76ebdd4 (patch) | |
| tree | 5868d9029cbf45e29b91d422145dbbd44e04ec3c | |
| parent | afcc58abd3e1d20f1aa2f4c848e5b4b979235035 (diff) | |
| download | rust-f7c97040242fc689106455a73c41477bf76ebdd4.tar.gz rust-f7c97040242fc689106455a73c41477bf76ebdd4.zip | |
Exclude all windows-gnu from the float_one test
| -rw-r--r-- | src/test/run-make/extern-fn-struct-passing-abi/test.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/run-make/extern-fn-struct-passing-abi/test.rs b/src/test/run-make/extern-fn-struct-passing-abi/test.rs index 93cd6260e0c..54a4f868eb4 100644 --- a/src/test/run-make/extern-fn-struct-passing-abi/test.rs +++ b/src/test/run-make/extern-fn-struct-passing-abi/test.rs @@ -135,9 +135,10 @@ fn main() { assert_eq!(float_point(p), p); assert_eq!(int_odd(i), i); - // mingw64-gcc uses the wrong ABI: - // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82028 - #[cfg(not(all(windows, target_arch = "x86_64", target_env = "gnu")))] + // MSVC/GCC/Clang are not consistent in the ABI of single-float aggregates. + // x86_64: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82028 + // i686: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82041 + #[cfg(not(all(windows, target_env = "gnu")))] assert_eq!(float_one(f1), f1); } } |
