Skip to content

Commit 52b9c9e

Browse files
committed
Add remaining libm crates to the workspace
1 parent a38c46c commit 52b9c9e

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

Cargo.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,18 @@ members = [
88
"builtins-test-intrinsics",
99
"compiler-builtins",
1010
"crates/libm-macros",
11+
"crates/musl-math-sys",
12+
"crates/util",
1113
"libm",
12-
# FIXME(libm): disabled until tests work in CI
13-
# "libm-test",
14-
# "crates/musl-math-sys",
15-
# "crates/util",
14+
"libm-test",
1615
]
1716

1817
default-members = [
1918
"builtins-test",
2019
"compiler-builtins",
2120
"crates/libm-macros",
22-
# FIXME(libm): disabled until tests work in CI
23-
# "crates/libm-test"
2421
"libm",
22+
"libm-test",
2523
]
2624

2725
[profile.release]

libm-test/tests/check_coverage.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ macro_rules! callback {
1919

2020
#[test]
2121
fn test_for_each_function_all_included() {
22-
let all_functions: HashSet<_> = include_str!("../../../etc/function-list.txt")
22+
let all_functions: HashSet<_> = include_str!("../../etc/function-list.txt")
2323
.lines()
2424
.filter(|line| !line.starts_with("#"))
2525
.collect();
@@ -52,7 +52,7 @@ fn ensure_list_updated() {
5252
}
5353

5454
let res = Command::new("python3")
55-
.arg(Path::new(env!("CARGO_MANIFEST_DIR")).join("../../etc/update-api-list.py"))
55+
.arg(Path::new(env!("CARGO_MANIFEST_DIR")).join("../etc/update-api-list.py"))
5656
.arg("--check")
5757
.status()
5858
.unwrap();

0 commit comments

Comments
 (0)