]>
Commit | Line | Data |
---|---|---|
476ff2be SL |
1 | [workspace] |
2 | members = [ | |
1b1a35ee | 3 | "compiler/rustc", |
3dfed10e XL |
4 | "library/std", |
5 | "library/test", | |
5869c6ff | 6 | "src/rustdoc-json-types", |
9c376795 | 7 | "src/tools/build_helper", |
a1dfa0c6 XL |
8 | "src/tools/cargotest", |
9 | "src/tools/clippy", | |
cdc7bbd5 | 10 | "src/tools/clippy/clippy_dev", |
a1dfa0c6 XL |
11 | "src/tools/compiletest", |
12 | "src/tools/error_index_generator", | |
13 | "src/tools/linkchecker", | |
1b1a35ee | 14 | "src/tools/lint-docs", |
487cf647 | 15 | "src/tools/miropt-test-tools", |
a1dfa0c6 XL |
16 | "src/tools/rustbook", |
17 | "src/tools/unstable-book-gen", | |
18 | "src/tools/tidy", | |
3dfed10e | 19 | "src/tools/tier-check", |
a1dfa0c6 XL |
20 | "src/tools/build-manifest", |
21 | "src/tools/remote-test-client", | |
22 | "src/tools/remote-test-server", | |
23 | "src/tools/rust-installer", | |
3dfed10e | 24 | "src/tools/rust-demangler", |
a1dfa0c6 | 25 | "src/tools/cargo", |
fc512014 XL |
26 | "src/tools/cargo/crates/credential/cargo-credential-1password", |
27 | "src/tools/cargo/crates/credential/cargo-credential-macos-keychain", | |
28 | "src/tools/cargo/crates/credential/cargo-credential-wincred", | |
9c376795 FG |
29 | "src/tools/cargo/crates/mdman", |
30 | # "src/tools/cargo/crates/resolver-tests", | |
a1dfa0c6 XL |
31 | "src/tools/rustdoc", |
32 | "src/tools/rls", | |
33 | "src/tools/rustfmt", | |
34 | "src/tools/miri", | |
f9f354fc | 35 | "src/tools/miri/cargo-miri", |
a1dfa0c6 | 36 | "src/tools/rustdoc-themes", |
dfeec247 | 37 | "src/tools/unicode-table-generator", |
ba9703b0 | 38 | "src/tools/expand-yaml-anchors", |
5869c6ff | 39 | "src/tools/jsondocck", |
f2b60f7d | 40 | "src/tools/jsondoclint", |
136023e0 | 41 | "src/tools/html-checker", |
c295e0f8 | 42 | "src/tools/bump-stage0", |
f2b60f7d | 43 | "src/tools/replace-version-placeholder", |
dc3f5686 | 44 | "src/tools/lld-wrapper", |
487cf647 FG |
45 | "src/tools/collect-license-metadata", |
46 | "src/tools/generate-copyright", | |
353b0b11 | 47 | "src/tools/suggest-tests", |
8faf50e0 | 48 | ] |
29967ef6 | 49 | |
8faf50e0 | 50 | exclude = [ |
a1dfa0c6 | 51 | "build", |
29967ef6 | 52 | "compiler/rustc_codegen_cranelift", |
c295e0f8 | 53 | "compiler/rustc_codegen_gcc", |
064997fb | 54 | "src/bootstrap", |
9c376795 | 55 | "tests/rustdoc-gui", |
a1dfa0c6 XL |
56 | # HACK(eddyb) This hardcodes the fact that our CI uses `/checkout/obj`. |
57 | "obj", | |
29967ef6 XL |
58 | # The `x` binary is a thin wrapper that calls `x.py`, which initializes |
59 | # submodules, before which workspace members cannot be invoked because | |
60 | # not all `Cargo.toml` files are available, so we exclude the `x` binary, | |
61 | # so it can be invoked before the current checkout is set up. | |
62 | "src/tools/x", | |
cdc7bbd5 XL |
63 | # stdarch has its own Cargo workspace |
64 | "library/stdarch", | |
476ff2be SL |
65 | ] |
66 | ||
f035d41b XL |
67 | [profile.release.package.compiler_builtins] |
68 | # The compiler-builtins crate cannot reference libcore, and it's own CI will | |
69 | # verify that this is the case. This requires, however, that the crate is built | |
70 | # without overflow checks and debug assertions. Forcefully disable debug | |
71 | # assertions and overflow checks here which should ensure that even if these | |
064997fb | 72 | # assertions are enabled for libstd we won't enable them for compiler_builtins |
f035d41b | 73 | # which should ensure we still link everything correctly. |
476ff2be | 74 | debug-assertions = false |
f035d41b XL |
75 | overflow-checks = false |
76 | ||
77 | # For compiler-builtins we always use a high number of codegen units. | |
78 | # The goal here is to place every single intrinsic into its own object | |
79 | # file to avoid symbol clashes with the system libgcc if possible. Note | |
80 | # that this number doesn't actually produce this many object files, we | |
81 | # just don't create more than this number of object files. | |
82 | # | |
83 | # It's a bit of a bummer that we have to pass this here, unfortunately. | |
84 | # Ideally this would be specified through an env var to Cargo so Cargo | |
85 | # knows how many CGUs are for this specific crate, but for now | |
86 | # per-crate configuration isn't specifiable in the environment. | |
87 | codegen-units = 10000 | |
ea8adc8c | 88 | |
3c0e092e XL |
89 | [profile.release.package.rustc-rayon-core] |
90 | # The rustc fork of Rayon has deadlock detection code which intermittently | |
91 | # causes overflows in the CI (see https://github.com/rust-lang/rust/issues/90227) | |
92 | # so we turn overflow checks off for now. | |
93 | # FIXME: This workaround should be removed once #90227 is fixed. | |
94 | overflow-checks = false | |
95 | ||
3dfed10e XL |
96 | # These dependencies of the standard library implement symbolication for |
97 | # backtraces on most platforms. Their debuginfo causes both linking to be slower | |
98 | # (more data to chew through) and binaries to be larger without really all that | |
99 | # much benefit. This section turns them all to down to have no debuginfo which | |
100 | # helps to improve link times a little bit. | |
101 | [profile.release.package] | |
102 | addr2line.debug = 0 | |
103 | adler.debug = 0 | |
104 | gimli.debug = 0 | |
105 | miniz_oxide.debug = 0 | |
106 | object.debug = 0 | |
107 | ||
3dfed10e | 108 | [patch.crates-io] |
a1dfa0c6 | 109 | # See comments in `src/tools/rustc-workspace-hack/README.md` for what's going on |
8faf50e0 | 110 | # here |
a1dfa0c6 | 111 | rustc-workspace-hack = { path = 'src/tools/rustc-workspace-hack' } |
8faf50e0 | 112 | |
3dfed10e | 113 | # See comments in `library/rustc-std-workspace-core/README.md` for what's going on |
0731742a | 114 | # here |
3dfed10e XL |
115 | rustc-std-workspace-core = { path = 'library/rustc-std-workspace-core' } |
116 | rustc-std-workspace-alloc = { path = 'library/rustc-std-workspace-alloc' } | |
117 | rustc-std-workspace-std = { path = 'library/rustc-std-workspace-std' } | |
118 | ||
450edc1f | 119 | [patch."https://github.com/rust-lang/rust-clippy"] |
a1dfa0c6 | 120 | clippy_lints = { path = "src/tools/clippy/clippy_lints" } |