Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 7b214c8

Browse files
committed
Put exhaustive tests behind feature test
1 parent a27bd10 commit 7b214c8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

crates/libm-test/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ rand = "0.7"
1313
default = []
1414
checked = ["libm/checked"]
1515
stable = ["libm/stable"]
16-
system_libm = []
16+
system_libm = []
17+
exhaustive = []

crates/libm-test/tests/exhaustive32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Exhaustively test unary APIs taking 32-bit wide arguments.
22
#![cfg(test)]
3-
#![cfg(exhaustive32)]
3+
#![cfg(all(exhaustive32, feature = "exhaustive"))]
44
use libm_test::assert_approx_eq;
55

66
macro_rules! exhaustive32 {

0 commit comments

Comments
 (0)