We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afcc58a commit f7c9704Copy full SHA for f7c9704
src/test/run-make/extern-fn-struct-passing-abi/test.rs
@@ -135,9 +135,10 @@ fn main() {
135
assert_eq!(float_point(p), p);
136
assert_eq!(int_odd(i), i);
137
138
- // mingw64-gcc uses the wrong ABI:
139
- // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82028
140
- #[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
141
+ #[cfg(not(all(windows, target_env = "gnu")))]
142
assert_eq!(float_one(f1), f1);
143
}
144
0 commit comments