Skip to content

Commit a4719b3

Browse files
committed
Tests fix
1 parent 7246b0a commit a4719b3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/int/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub mod udiv;
1313
pub use self::leading_zeros::__clzsi2;
1414

1515
public_test_dep! {
16-
/// Minimal integer implementations needed on wide integers`
16+
/// Minimal integer implementations needed on all integer types, including wide integers.
1717
pub(crate) trait MinInt: Copy
1818
+ core::fmt::Debug
1919
+ ops::Not<Output = Self>

testcrate/tests/div_rem.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#![allow(unused_macros)]
2+
#![feature(f128)]
3+
#![feature(f16)]
24

35
use compiler_builtins::int::sdiv::{__divmoddi4, __divmodsi4, __divmodti4};
46
use compiler_builtins::int::udiv::{__udivmoddi4, __udivmodsi4, __udivmodti4, u128_divide_sparc};

testcrate/tests/mul.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#![allow(unused_macros)]
2+
#![feature(f128)]
3+
#![feature(f16)]
24

35
use testcrate::*;
46

@@ -91,7 +93,7 @@ macro_rules! float_mul {
9193
if !(Float::is_subnormal(mul0) || Float::is_subnormal(mul1)) {
9294
if !Float::eq_repr(mul0, mul1) {
9395
panic!(
94-
"{}({}, {}): std: {}, builtins: {}",
96+
"{}({:?}, {:?}): std: {:?}, builtins: {:?}",
9597
stringify!($fn), x, y, mul0, mul1
9698
);
9799
}

0 commit comments

Comments
 (0)