2016-09-02 03:55:29 -05:00
|
|
|
[workspace]
|
2024-08-07 02:02:57 -05:00
|
|
|
resolver = "2"
|
2016-09-02 03:55:29 -05:00
|
|
|
members = [
|
2020-08-27 22:58:48 -05:00
|
|
|
"compiler/rustc",
|
2024-07-20 11:13:27 -05:00
|
|
|
"src/etc/test-float-parse",
|
2024-11-03 15:30:16 -06: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 14:42:33 -06:00
|
|
|
"src/rustdoc-json-types",
|
2022-12-30 04:11:33 -06:00
|
|
|
"src/tools/build_helper",
|
2018-08-21 21:50:46 -05:00
|
|
|
"src/tools/cargotest",
|
|
|
|
"src/tools/clippy",
|
2021-04-14 08:20:49 -05:00
|
|
|
"src/tools/clippy/clippy_dev",
|
2018-08-21 21:50:46 -05:00
|
|
|
"src/tools/compiletest",
|
2024-01-20 10:51:59 -06:00
|
|
|
"src/tools/run-make-support",
|
2018-08-21 21:50:46 -05:00
|
|
|
"src/tools/error_index_generator",
|
|
|
|
"src/tools/linkchecker",
|
2020-09-08 17:09:57 -05:00
|
|
|
"src/tools/lint-docs",
|
2022-10-30 19:17:25 -05:00
|
|
|
"src/tools/miropt-test-tools",
|
2018-08-21 21:50:46 -05:00
|
|
|
"src/tools/unstable-book-gen",
|
|
|
|
"src/tools/tidy",
|
2020-08-11 18:49:39 -05:00
|
|
|
"src/tools/tier-check",
|
2018-08-21 21:50:46 -05: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 13:17:20 -05:00
|
|
|
"src/tools/miri/cargo-miri",
|
2018-08-21 21:50:46 -05:00
|
|
|
"src/tools/rustdoc-themes",
|
2020-01-13 15:40:19 -06:00
|
|
|
"src/tools/unicode-table-generator",
|
2021-01-15 19:34:15 -06:00
|
|
|
"src/tools/jsondocck",
|
2022-08-23 08:49:37 -05:00
|
|
|
"src/tools/jsondoclint",
|
2024-02-06 12:15:38 -06:00
|
|
|
"src/tools/llvm-bitcode-linker",
|
2021-04-23 09:43:18 -05:00
|
|
|
"src/tools/html-checker",
|
2021-08-26 04:26:03 -05:00
|
|
|
"src/tools/bump-stage0",
|
2022-08-23 15:14:12 -05:00
|
|
|
"src/tools/replace-version-placeholder",
|
2021-09-25 08:25:08 -05:00
|
|
|
"src/tools/lld-wrapper",
|
2022-11-15 03:19:17 -06:00
|
|
|
"src/tools/collect-license-metadata",
|
2022-11-15 04:27:19 -06:00
|
|
|
"src/tools/generate-copyright",
|
2023-03-01 03:17:08 -06:00
|
|
|
"src/tools/suggest-tests",
|
2023-04-15 05:57:07 -05:00
|
|
|
"src/tools/generate-windows-sys",
|
2023-05-20 06:40:11 -05:00
|
|
|
"src/tools/rustdoc-gui-test",
|
2023-06-03 02:41:44 -05:00
|
|
|
"src/tools/opt-dist",
|
2023-08-10 20:52:37 -05:00
|
|
|
"src/tools/coverage-dump",
|
2024-06-27 03:22:03 -05:00
|
|
|
"src/tools/rustc-perf-wrapper",
|
2024-06-24 14:30:44 -05:00
|
|
|
"src/tools/wasm-component-ld",
|
2018-07-26 16:58:55 -05:00
|
|
|
]
|
2020-11-01 21:43:51 -06:00
|
|
|
|
2018-07-26 16:58:55 -05:00
|
|
|
exclude = [
|
2018-11-25 06:59:52 -06:00
|
|
|
"build",
|
2020-10-15 07:23:43 -05:00
|
|
|
"compiler/rustc_codegen_cranelift",
|
2021-07-19 18:13:02 -05:00
|
|
|
"compiler/rustc_codegen_gcc",
|
2022-05-29 02:26:19 -05:00
|
|
|
"src/bootstrap",
|
2023-01-05 02:45:44 -06:00
|
|
|
"tests/rustdoc-gui",
|
2018-11-25 15:15:20 -06:00
|
|
|
# HACK(eddyb) This hardcodes the fact that our CI uses `/checkout/obj`.
|
|
|
|
"obj",
|
2020-11-01 21:43:51 -06: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",
|
2024-06-18 16:30:33 -05:00
|
|
|
"mikros_std_deps",
|
2017-04-20 16:32:54 -05:00
|
|
|
]
|
|
|
|
|
2021-10-24 08:36:45 -05: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 08:33:51 -06: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 14:30:44 -05:00
|
|
|
[profile.release.package.wasm-component-ld-wrapper]
|
|
|
|
debug = 0
|
|
|
|
strip = true
|
2024-01-06 08:33:51 -06:00
|
|
|
|
2024-07-20 11:13:27 -05: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
|
2024-01-06 08:33:51 -06:00
|
|
|
|