Skip to content

Commit 3d5cb38

Browse files
committed
Try to fix mac i686?
1 parent 6fd0253 commit 3d5cb38

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/test/run-pass/simd-intrinsic-generic-cast.rs

+8-7
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,25 @@
1515
extern crate test;
1616

1717
#[repr(simd)]
18-
#[derive(PartialEq)]
18+
#[derive(PartialEq, Debug)]
1919
struct i32x4(i32, i32, i32, i32);
2020
#[repr(simd)]
21-
#[derive(PartialEq)]
21+
#[derive(PartialEq, Debug)]
2222
struct i8x4(i8, i8, i8, i8);
2323

2424
#[repr(simd)]
25-
#[derive(PartialEq)]
25+
#[derive(PartialEq, Debug)]
2626
struct u32x4(u32, u32, u32, u32);
2727
#[repr(simd)]
28-
#[derive(PartialEq)]
28+
#[derive(PartialEq, Debug)]
2929
struct u8x4(u8, u8, u8, u8);
3030

3131
#[repr(simd)]
32-
#[derive(PartialEq)]
32+
#[derive(PartialEq, Debug)]
3333
struct f32x4(f32, f32, f32, f32);
3434

3535
#[repr(simd)]
36-
#[derive(PartialEq)]
36+
#[derive(PartialEq, Debug)]
3737
struct f64x4(f64, f64, f64, f64);
3838

3939

@@ -60,7 +60,8 @@ fn main() {
6060
c as $to,
6161
d as $to);
6262
assert!(to == from,
63-
"{} -> {}", stringify!($from), stringify!($to));
63+
"{} -> {} ({:?} != {:?})", stringify!($from), stringify!($to),
64+
from, to);
6465
}}
6566
}
6667
macro_rules! tests {

0 commit comments

Comments
 (0)