Files
rust/library/compiler-builtins/Cargo.toml
Trevor Gross 91480ccf44 ci: Do a quick check for system runtime performance
This gives a very rough idea of what is reasonable for test volume on
each arch, and hints if a job happens to pick up a slow runner. We don't
really need this to run each time but we have been adding and removing
runners with some frequency recently, and it only takes about five
seconds to build and run.

Results from CI:

| Target                              | Environment      | Single-core score | Multi-core score  |
|-------------------------------------|------------------|-------------------|-------------------|
| aarch64-apple-darwin                | Native           | 490               | 1371              |
| aarch64-pc-windows-msvc             | Native           | 492               | 1819              |
| aarch64-unknown-linux-gnu           | Native           | 627               | 2318              |
| arm-unknown-linux-gnueabi           | QEMU (Docker)    | 19                | 72                |
| arm-unknown-linux-gnueabihf         | QEMU (Docker)    | 37                | 136               |
| armv7-unknown-linux-gnueabihf       | Native           | 278               | 2026              |
| armv7-unknown-linux-gnueabihf       | QEMU (Docker)    | 37                | 137               |
| i586-unknown-linux-gnu              | Native (Docker)  | 248               | 916               |
| i686-pc-windows-gnu                 | Native           | 321               | 1188              |
| i686-pc-windows-msvc                | Native           | 541               | 2002              |
| i686-unknown-linux-gnu              | Native (Docker)  | 323               | 1193              |
| loongarch64-unknown-linux-gnu       | QEMU (Docker)    | 86                | 320               |
| powerpc-unknown-linux-gnu           | QEMU (Docker)    | 23                | 86                |
| powerpc64-unknown-linux-gnu         | QEMU (Docker)    | 44                | 164               |
| powerpc64-unknown-linux-musl        | Native           | 215               | 7770              |
| powerpc64le-unknown-linux-gnu       | Native           | 107               | 397               |
| powerpc64le-unknown-linux-gnu       | QEMU (Docker)    | 42                | 157               |
| riscv64gc-unknown-linux-gnu         | QEMU (Docker)    | 100               | 371               |
| s390x-unknown-linux-gnu             | Native           | 243               | 899               |
| thumbv7neon-unknown-linux-gnueabihf | QEMU (Docker)    | 50                | 186               |
| x86_64-apple-darwin                 | Native           | 192               | 711               |
| x86_64-pc-windows-gnu,              | Native           | 456               | 1689              |
| x86_64-pc-windows-msvc              | Native           | 462               | 1709              |
| x86_64-unknown-linux-gnu            | Native (Docker)  | 457               | 1689              |
2026-10-08 11:37:17 -05:00

99 lines
2.6 KiB
TOML

[workspace]
resolver = "2"
members = [
"builtins-shim",
"builtins-test",
"crates/api-list-common",
"crates/libm-macros",
"crates/musl-math-sys",
"crates/panic-handler",
"crates/symcheck",
"crates/sysbench",
"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"
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.20.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.40.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 = "3.0.3"
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