Skip to content

Commit 3b0a167

Browse files
authored
Rollup merge of #152529 - folkertdev:sparc64-enable-abi-compat-test, r=RalfJung
sparc64: enable abi compatibility test fixes #115336 We can now remove the exceptions for sparc64 from the abi compatibility tests (since #142680). I was also able to remove a cfg for mips64. The remaining (tested) issues seem to be around how `f64` is handled there. cc @RalfJung r? tgross35
2 parents 4269210 + d8ed639 commit 3b0a167

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/ui/abi/compatibility.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878

7979
// FIXME: some targets are broken in various ways.
8080
// Hence there are `cfg` throughout this test to disable parts of it on those targets.
81-
// sparc64: https://github.com/rust-lang/rust/issues/115336
8281
// mips64: https://github.com/rust-lang/rust/issues/115404
8382

8483
extern crate minicore;
@@ -246,7 +245,7 @@ test_transparent!(zst, Zst);
246245
test_transparent!(unit, ());
247246
test_transparent!(enum_, Option<i32>);
248247
test_transparent!(enum_niched, Option<&'static i32>);
249-
#[cfg(not(any(target_arch = "mips64", target_arch = "sparc64")))]
248+
#[cfg(not(any(target_arch = "mips64")))]
250249
mod tuples {
251250
use super::*;
252251
// mixing in some floats since they often get special treatment
@@ -260,7 +259,6 @@ mod tuples {
260259
test_transparent!(tuple, (i32, f32, i64, f64));
261260
}
262261
// Some targets have special rules for arrays.
263-
#[cfg(not(any(target_arch = "mips64", target_arch = "sparc64")))]
264262
mod arrays {
265263
use super::*;
266264
test_transparent!(empty_array, [u32; 0]);

0 commit comments

Comments
 (0)