Skip to content

Commit 8037d4b

Browse files
committed
Add #[cfg(any(feature = "std", feature = "libm"))] to function test_integer_decode
1 parent ff6913b commit 8037d4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/float.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2398,6 +2398,7 @@ mod tests {
23982398
}
23992399

24002400
/// Test the behavior of `Float::integer_decode` with the `given` input and `expected` output values.
2401+
#[cfg(any(feature = "std", feature = "libm"))]
24012402
fn test_integer_decode<T>(given: T, expected: (u64, i16, i8))
24022403
where
24032404
T: crate::float::Float + core::fmt::LowerExp + core::fmt::Debug,

0 commit comments

Comments
 (0)