Skip to content

Commit

Permalink
Add #[cfg(any(feature = "std", feature = "libm"))] to function `tes…
Browse files Browse the repository at this point in the history
…t_integer_decode`
  • Loading branch information
mtilda committed Jun 27, 2024
1 parent ff6913b commit 8037d4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/float.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>(given: T, expected: (u64, i16, i8))
where
T: crate::float::Float + core::fmt::LowerExp + core::fmt::Debug,
Expand Down

0 comments on commit 8037d4b

Please sign in to comment.