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

Commit a0d8380

Browse files
committed
Move musl-reference-tests to a new libm-test crate
There isn't any reason for this feature to be exposed or part of the build script. Move it to a separate crate. We will also want more tests that require some support functions; this will create a place for them.
1 parent 9c2dee9 commit a0d8380

File tree

8 files changed

+492
-469
lines changed

8 files changed

+492
-469
lines changed

Cargo.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,23 @@ default = []
1919
# that it should activate any useful Nightly things accordingly.
2020
unstable = []
2121

22-
# Generate tests which are random inputs and the outputs are calculated with
23-
# musl libc.
24-
musl-reference-tests = ['rand']
25-
2622
# Used to prevent using any intrinsics or arch-specific code.
2723
force-soft-floats = []
2824

2925
[workspace]
3026
members = [
3127
"crates/compiler-builtins-smoke-test",
3228
"crates/libm-bench",
29+
"crates/libm-test",
30+
]
31+
default-members = [
32+
".",
33+
"crates/libm-test",
3334
]
3435

3536
[dev-dependencies]
3637
no-panic = "0.1.8"
3738

38-
[build-dependencies]
39-
rand = { version = "0.6.5", optional = true }
4039

4140
# This is needed for no-panic to correctly detect the lack of panics
4241
[profile.release]

0 commit comments

Comments
 (0)