Skip to content

Commit a035607

Browse files
committed
Add libm and libm-macros to the workspace
These should build and test correctly. `libm-test` and others that depend on it are excluded since the necessary CI is not yet set up.
1 parent 6c51404 commit a035607

File tree

2 files changed

+33
-40
lines changed

2 files changed

+33
-40
lines changed

Cargo.toml

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,45 @@ members = [
77
"builtins-test",
88
"builtins-test-intrinsics",
99
"compiler-builtins",
10+
"crates/libm-macros",
11+
"libm",
12+
# FIXME(libm): disabled until tests work in CI
13+
# "libm-test",
14+
# "crates/musl-math-sys",
15+
# "crates/util",
1016
]
1117

1218
default-members = [
13-
"compiler-builtins",
1419
"builtins-test",
20+
"compiler-builtins",
21+
"crates/libm-macros",
22+
# FIXME(libm): disabled until tests work in CI
23+
# "crates/libm-test"
24+
"libm",
1525
]
1626

1727
[profile.release]
18-
panic = 'abort'
28+
panic = "abort"
1929

2030
[profile.dev]
21-
panic = 'abort'
31+
panic = "abort"
32+
33+
# FIXME(libm): these profiles are needed for testing
34+
# # The default release profile is unchanged.
35+
36+
# # Release mode with debug assertions
37+
# [profile.release-checked]
38+
# inherits = "release"
39+
# debug-assertions = true
40+
# overflow-checks = true
41+
42+
# # Release with maximum optimizations, which is very slow to build. This is also
43+
# # what is needed to check `no-panic`.
44+
# [profile.release-opt]
45+
# inherits = "release"
46+
# codegen-units = 1
47+
# lto = "fat"
48+
49+
# [profile.bench]
50+
# # Required for iai-callgrind
51+
# debug = true

etc/libm/Cargo.toml

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)