6 "src/rustdoc-json-types",
9 "src/tools/clippy/clippy_dev",
10 "src/tools/compiletest",
11 "src/tools/error_index_generator",
12 "src/tools/linkchecker",
13 "src/tools/lint-docs",
14 "src/tools/miropt-test-tools",
16 "src/tools/unstable-book-gen",
18 "src/tools/tier-check",
19 "src/tools/build-manifest",
20 "src/tools/remote-test-client",
21 "src/tools/remote-test-server",
22 "src/tools/rust-installer",
23 "src/tools/rust-demangler",
25 "src/tools/cargo/crates/credential/cargo-credential-1password",
26 "src/tools/cargo/crates/credential/cargo-credential-macos-keychain",
27 "src/tools/cargo/crates/credential/cargo-credential-wincred",
32 "src/tools/miri/cargo-miri",
33 "src/tools/rustdoc-themes",
34 "src/tools/unicode-table-generator",
35 "src/tools/expand-yaml-anchors",
36 "src/tools/jsondocck",
37 "src/tools/jsondoclint",
38 "src/tools/html-checker",
39 "src/tools/bump-stage0",
40 "src/tools/replace-version-placeholder",
41 "src/tools/lld-wrapper",
42 "src/tools/collect-license-metadata",
43 "src/tools/generate-copyright",
48 "compiler/rustc_codegen_cranelift",
49 "compiler/rustc_codegen_gcc",
51 "src/test/rustdoc-gui",
52 # HACK(eddyb) This hardcodes the fact that our CI uses `/checkout/obj`.
54 # The `x` binary is a thin wrapper that calls `x.py`, which initializes
55 # submodules, before which workspace members cannot be invoked because
56 # not all `Cargo.toml` files are available, so we exclude the `x` binary,
57 # so it can be invoked before the current checkout is set up.
59 # stdarch has its own Cargo workspace
63 [profile.release.package.compiler_builtins]
64 # The compiler-builtins crate cannot reference libcore, and it's own CI will
65 # verify that this is the case. This requires, however, that the crate is built
66 # without overflow checks and debug assertions. Forcefully disable debug
67 # assertions and overflow checks here which should ensure that even if these
68 # assertions are enabled for libstd we won't enable them for compiler_builtins
69 # which should ensure we still link everything correctly.
70 debug-assertions = false
71 overflow-checks = false
73 # For compiler-builtins we always use a high number of codegen units.
74 # The goal here is to place every single intrinsic into its own object
75 # file to avoid symbol clashes with the system libgcc if possible. Note
76 # that this number doesn't actually produce this many object files, we
77 # just don't create more than this number of object files.
79 # It's a bit of a bummer that we have to pass this here, unfortunately.
80 # Ideally this would be specified through an env var to Cargo so Cargo
81 # knows how many CGUs are for this specific crate, but for now
82 # per-crate configuration isn't specifiable in the environment.
85 [profile.release.package.rustc-rayon-core]
86 # The rustc fork of Rayon has deadlock detection code which intermittently
87 # causes overflows in the CI (see https://github.com/rust-lang/rust/issues/90227)
88 # so we turn overflow checks off for now.
89 # FIXME: This workaround should be removed once #90227 is fixed.
90 overflow-checks = false
92 # These dependencies of the standard library implement symbolication for
93 # backtraces on most platforms. Their debuginfo causes both linking to be slower
94 # (more data to chew through) and binaries to be larger without really all that
95 # much benefit. This section turns them all to down to have no debuginfo which
96 # helps to improve link times a little bit.
97 [profile.release.package]
101 miniz_oxide.debug = 0
105 # See comments in `src/tools/rustc-workspace-hack/README.md` for what's going on
107 rustc-workspace-hack = { path = 'src/tools/rustc-workspace-hack' }
109 # See comments in `library/rustc-std-workspace-core/README.md` for what's going on
111 rustc-std-workspace-core = { path = 'library/rustc-std-workspace-core' }
112 rustc-std-workspace-alloc = { path = 'library/rustc-std-workspace-alloc' }
113 rustc-std-workspace-std = { path = 'library/rustc-std-workspace-std' }
115 [patch."https://github.com/rust-lang/rust-clippy"]
116 clippy_lints = { path = "src/tools/clippy/clippy_lints" }