diff --git a/src/float.rs b/src/float.rs index a43e781..10092a6 100644 --- a/src/float.rs +++ b/src/float.rs @@ -2398,6 +2398,7 @@ mod tests { } /// Test the behavior of `Float::integer_decode` with the `given` input and `expected` output values. + #[cfg(any(feature = "std", feature = "libm"))] fn test_integer_decode(given: T, expected: (u64, i16, i8)) where T: crate::float::Float + core::fmt::LowerExp + core::fmt::Debug,