2016-09-02 08:55:29 +00:00
|
|
|
[workspace]
|
2024-08-07 07:02:57 +00:00
|
|
|
resolver = "2"
|
2016-09-02 08:55:29 +00:00
|
|
|
members = [
|
2020-08-28 03:58:48 +00:00
|
|
|
"compiler/rustc",
|
2024-11-10 20:52:56 +00:00
|
|
|
"src/build_helper",
|
2024-07-20 16:13:27 +00:00
|
|
|
"src/etc/test-float-parse",
|
2024-11-03 21:30:16 +00:00
|
|
|
"src/rustc-std-workspace/rustc-std-workspace-core",
|
|
|
|
"src/rustc-std-workspace/rustc-std-workspace-alloc",
|
|
|
|
"src/rustc-std-workspace/rustc-std-workspace-std",
|
2021-01-24 20:42:33 +00:00
|
|
|
"src/rustdoc-json-types",
|
2018-08-22 02:50:46 +00:00
|
|
|
"src/tools/cargotest",
|
|
|
|
"src/tools/clippy",
|
2021-04-14 13:20:49 +00:00
|
|
|
"src/tools/clippy/clippy_dev",
|
2018-08-22 02:50:46 +00:00
|
|
|
"src/tools/compiletest",
|
2024-01-20 16:51:59 +00:00
|
|
|
"src/tools/run-make-support",
|
2018-08-22 02:50:46 +00:00
|
|
|
"src/tools/error_index_generator",
|
|
|
|
"src/tools/linkchecker",
|
2020-09-08 22:09:57 +00:00
|
|
|
"src/tools/lint-docs",
|
2022-10-31 00:17:25 +00:00
|
|
|
"src/tools/miropt-test-tools",
|
2018-08-22 02:50:46 +00:00
|
|
|
"src/tools/unstable-book-gen",
|
|
|
|
"src/tools/tidy",
|
2020-08-11 23:49:39 +00:00
|
|
|
"src/tools/tier-check",
|
2018-08-22 02:50:46 +00:00
|
|
|
"src/tools/build-manifest",
|
|
|
|
"src/tools/remote-test-client",
|
|
|
|
"src/tools/remote-test-server",
|
|
|
|
"src/tools/rust-installer",
|
|
|
|
"src/tools/rustdoc",
|
|
|
|
"src/tools/rls",
|
|
|
|
"src/tools/rustfmt",
|
|
|
|
"src/tools/miri",
|
2020-06-01 18:17:20 +00:00
|
|
|
"src/tools/miri/cargo-miri",
|
2018-08-22 02:50:46 +00:00
|
|
|
"src/tools/rustdoc-themes",
|
2020-01-13 21:40:19 +00:00
|
|
|
"src/tools/unicode-table-generator",
|
2021-01-16 01:34:15 +00:00
|
|
|
"src/tools/jsondocck",
|
2022-08-23 13:49:37 +00:00
|
|
|
"src/tools/jsondoclint",
|
2024-02-06 18:15:38 +00:00
|
|
|
"src/tools/llvm-bitcode-linker",
|
2021-04-23 14:43:18 +00:00
|
|
|
"src/tools/html-checker",
|
2021-08-26 09:26:03 +00:00
|
|
|
"src/tools/bump-stage0",
|
2022-08-23 20:14:12 +00:00
|
|
|
"src/tools/replace-version-placeholder",
|
2021-09-25 13:25:08 +00:00
|
|
|
"src/tools/lld-wrapper",
|
2022-11-15 09:19:17 +00:00
|
|
|
"src/tools/collect-license-metadata",
|
2022-11-15 10:27:19 +00:00
|
|
|
"src/tools/generate-copyright",
|
2023-03-01 09:17:08 +00:00
|
|
|
"src/tools/suggest-tests",
|
2023-04-15 10:57:07 +00:00
|
|
|
"src/tools/generate-windows-sys",
|
2023-05-20 11:40:11 +00:00
|
|
|
"src/tools/rustdoc-gui-test",
|
2023-06-03 07:41:44 +00:00
|
|
|
"src/tools/opt-dist",
|
2023-08-11 01:52:37 +00:00
|
|
|
"src/tools/coverage-dump",
|
2024-06-27 08:22:03 +00:00
|
|
|
"src/tools/rustc-perf-wrapper",
|
2024-06-24 19:30:44 +00:00
|
|
|
"src/tools/wasm-component-ld",
|
2018-07-26 21:58:55 +00:00
|
|
|
]
|
2020-11-02 03:43:51 +00:00
|
|
|
|
2018-07-26 21:58:55 +00:00
|
|
|
exclude = [
|
2018-11-25 12:59:52 +00:00
|
|
|
"build",
|
2020-10-15 12:23:43 +00:00
|
|
|
"compiler/rustc_codegen_cranelift",
|
2021-07-19 23:13:02 +00:00
|
|
|
"compiler/rustc_codegen_gcc",
|
2022-05-29 07:26:19 +00:00
|
|
|
"src/bootstrap",
|
2023-01-05 08:45:44 +00:00
|
|
|
"tests/rustdoc-gui",
|
2018-11-25 21:15:20 +00:00
|
|
|
# HACK(eddyb) This hardcodes the fact that our CI uses `/checkout/obj`.
|
|
|
|
"obj",
|
2020-11-02 03:43:51 +00:00
|
|
|
# The `x` binary is a thin wrapper that calls `x.py`, which initializes
|
|
|
|
# submodules, before which workspace members cannot be invoked because
|
|
|
|
# not all `Cargo.toml` files are available, so we exclude the `x` binary,
|
|
|
|
# so it can be invoked before the current checkout is set up.
|
|
|
|
"src/tools/x",
|
2017-04-20 21:32:54 +00:00
|
|
|
]
|
|
|
|
|
2021-10-24 13:36:45 +00:00
|
|
|
[profile.release.package.rustc-rayon-core]
|
|
|
|
# The rustc fork of Rayon has deadlock detection code which intermittently
|
|
|
|
# causes overflows in the CI (see https://github.com/rust-lang/rust/issues/90227)
|
|
|
|
# so we turn overflow checks off for now.
|
|
|
|
# FIXME: This workaround should be removed once #90227 is fixed.
|
|
|
|
overflow-checks = false
|
|
|
|
|
2024-01-06 14:33:51 +00:00
|
|
|
# These are very thin wrappers around executing lld with the right binary name.
|
|
|
|
# Basically nothing within them can go wrong without having been explicitly logged anyway.
|
|
|
|
# We ship these in every rustc tarball and even after compression they add up
|
|
|
|
# to around 0.6MB of data every user needs to download (and 15MB on disk).
|
|
|
|
[profile.release.package.lld-wrapper]
|
|
|
|
debug = 0
|
|
|
|
strip = true
|
2024-06-24 19:30:44 +00:00
|
|
|
[profile.release.package.wasm-component-ld-wrapper]
|
|
|
|
debug = 0
|
|
|
|
strip = true
|
2024-01-06 14:33:51 +00:00
|
|
|
|
2024-07-20 16:13:27 +00:00
|
|
|
# Bigint libraries are slow without optimization, speed up testing
|
|
|
|
[profile.dev.package.test-float-parse]
|
|
|
|
opt-level = 3
|
|
|
|
|
|
|
|
# Speed up the binary as much as possible
|
|
|
|
[profile.release.package.test-float-parse]
|
|
|
|
opt-level = 3
|
|
|
|
codegen-units = 1
|
|
|
|
# FIXME: LTO cannot be enabled for binaries in a workspace
|
|
|
|
# <https://github.com/rust-lang/cargo/issues/9330>
|
|
|
|
# lto = true
|