Skip to content

Commit 0079f13

Browse files
committed
print dbg
1 parent e96a8a8 commit 0079f13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

builtins-test/benches/float_cmp.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ fn gt_res_eq(mut a: CmpResult, mut b: CmpResult) -> bool {
1414
// This can be removed once a version of `compiler-builtins` with the return type fix makes
1515
// it upstream.
1616
dbg!(a, b, size_of::<CmpResult>());
17-
if size_of::<CmpResult>() == 64 {
18-
a = (a as u32 as i32) as CmpResult;
19-
b = (b as u32 as i32) as CmpResult;
17+
if size_of::<CmpResult>() == 8 {
18+
a = a as i32 as CmpResult;
19+
b = b as i32 as CmpResult;
2020
}
2121

2222
let a_lt_0 = a <= 0;

0 commit comments

Comments
 (0)