-
Notifications
You must be signed in to change notification settings - Fork 273
Expand file tree
/
Copy pathCargo.toml
More file actions
98 lines (90 loc) · 2.58 KB
/
Cargo.toml
File metadata and controls
98 lines (90 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[workspace]
resolver = "2"
members = [
"builtins-shim",
"builtins-test",
"crates/api-list-common",
"crates/libm-macros",
"crates/musl-math-sys",
"crates/panic-handler",
"crates/symbol-check",
"crates/update-api-list",
"crates/util",
"libm",
"libm-test",
]
default-members = [
"builtins-shim",
"builtins-test",
"crates/api-list-common",
"crates/libm-macros",
"libm",
"libm-test",
]
exclude = [
# `builtins-test-intrinsics` needs the features `compiler-builtins` and
# `unmangled-names` enabled, which is the opposite of what is needed for
# other tests, so it makes sense to keep it out of the workspace.
"builtins-test-intrinsics",
# We test via the `builtins-shim` crate, so exclude the `compiler-builtins`
# that has a dependency on `core`. See `builtins-shim/Cargo.toml` for more
# details.
"compiler-builtins",
]
[workspace.dependencies]
anyhow = "1.0.101"
api-list-common = { path = "crates/api-list-common" }
assert_cmd = "2.1.2"
cc = "1.2.56"
cfg-if = "1.0.4"
compiler_builtins = { path = "builtins-shim", default-features = false }
criterion = { version = "0.8.2", default-features = false, features = ["cargo_bench_support"] }
getopts = "0.2.24"
getrandom = "0.4.1"
glob = "0.3.3"
gmp-mpfr-sys = { version = "1.6.8", default-features = false }
gungraun = "0.18.0"
heck = "0.5.0"
indicatif = { version = "0.18.3", default-features = false }
libm = { path = "libm", default-features = false }
libm-macros = { path = "crates/libm-macros" }
libm-test = { path = "libm-test", default-features = false }
libtest-mimic = "0.8.1"
musl-math-sys = { path = "crates/musl-math-sys" }
no-panic = "0.1.36"
object = { version = "0.39.0", features = ["wasm"] }
panic-handler = { path = "crates/panic-handler" }
paste = "1.0.15"
pretty_assertions = "1.4.1"
proc-macro2 = "1.0.106"
quote = "1.0.44"
rand = "0.10.0"
rand_chacha = "0.10.0"
rand_xoshiro = "0.8"
rayon = "1.11.0"
regex = "1.12.3"
rug = { version = "1.28.1", default-features = false, features = ["float", "integer", "std"] }
rustc_apfloat = "0.2.3"
serde_json = "1.0.149"
syn = "2.0.115"
tempfile = "3.25.0"
[profile.release]
panic = "abort"
[profile.dev]
panic = "abort"
# Release mode with debug assertions
[profile.release-checked]
inherits = "release"
debug-assertions = true
overflow-checks = true
# Release with maximum optimizations, which is very slow to build. This is also
# what is needed to check `no-panic`.
[profile.release-opt]
inherits = "release"
codegen-units = 1
lto = "fat"
[profile.bench]
codegen-units = 1
# Required for gungraun
debug = true
strip = false