From 8037d4b0bd079ff6fa85688c64ca16dce58a08ea Mon Sep 17 00:00:00 2001 From: Mathilda Grace Date: Thu, 27 Jun 2024 16:51:29 -0400 Subject: [PATCH] Add `#[cfg(any(feature = "std", feature = "libm"))]` to function `test_integer_decode` --- src/float.rs | 1 + 1 file changed, 1 insertion(+) 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,