]> git.proxmox.com Git - rustc.git/blame - Cargo.toml
New upstream version 1.44.1+dfsg1
[rustc.git] / Cargo.toml
CommitLineData
476ff2be
SL
1[workspace]
2members = [
a1dfa0c6
XL
3 "src/bootstrap",
4 "src/rustc",
5 "src/libstd",
6 "src/libtest",
7 "src/librustc_codegen_llvm",
8 "src/tools/cargotest",
9 "src/tools/clippy",
10 "src/tools/compiletest",
11 "src/tools/error_index_generator",
12 "src/tools/linkchecker",
13 "src/tools/rustbook",
14 "src/tools/unstable-book-gen",
15 "src/tools/tidy",
16 "src/tools/build-manifest",
17 "src/tools/remote-test-client",
18 "src/tools/remote-test-server",
19 "src/tools/rust-installer",
20 "src/tools/cargo",
21 "src/tools/rustdoc",
22 "src/tools/rls",
23 "src/tools/rustfmt",
24 "src/tools/miri",
25 "src/tools/rustdoc-themes",
dfeec247 26 "src/tools/unicode-table-generator",
ba9703b0 27 "src/tools/expand-yaml-anchors",
8faf50e0
XL
28]
29exclude = [
a1dfa0c6
XL
30 "build",
31 # HACK(eddyb) This hardcodes the fact that our CI uses `/checkout/obj`.
32 "obj",
476ff2be
SL
33]
34
476ff2be
SL
35# These options are controlled from our rustc wrapper script, so turn them off
36# here and have them controlled elsewhere.
37[profile.dev]
38debug = false
39debug-assertions = false
40[profile.test]
41debug = false
42debug-assertions = false
ea8adc8c 43
2c00a5a8
XL
44# We want the RLS to use the version of Cargo that we've got vendored in this
45# repository to ensure that the same exact version of Cargo is used by both the
46# RLS and the Cargo binary itself. The RLS depends on Cargo as a git repository
47# so we use a `[patch]` here to override the github repository with our local
48# vendored copy.
ea8adc8c 49[patch."https://github.com/rust-lang/cargo"]
a1dfa0c6 50cargo = { path = "src/tools/cargo" }
ea8adc8c 51
8faf50e0 52[patch.crates-io]
2c00a5a8
XL
53# Similar to Cargo above we want the RLS to use a vendored version of `rustfmt`
54# that we're shipping as well (to ensure that the rustfmt in RLS and the
8faf50e0 55# `rustfmt` executable are the same exact version).
a1dfa0c6 56rustfmt-nightly = { path = "src/tools/rustfmt" }
8faf50e0 57
a1dfa0c6 58# See comments in `src/tools/rustc-workspace-hack/README.md` for what's going on
8faf50e0 59# here
a1dfa0c6 60rustc-workspace-hack = { path = 'src/tools/rustc-workspace-hack' }
8faf50e0 61
0731742a
XL
62# See comments in `tools/rustc-std-workspace-core/README.md` for what's going on
63# here
64rustc-std-workspace-core = { path = 'src/tools/rustc-std-workspace-core' }
48663c56 65rustc-std-workspace-alloc = { path = 'src/tools/rustc-std-workspace-alloc' }
e1599b0c 66rustc-std-workspace-std = { path = 'src/tools/rustc-std-workspace-std' }
0731742a 67
450edc1f 68[patch."https://github.com/rust-lang/rust-clippy"]
a1dfa0c6 69clippy_lints = { path = "src/tools/clippy/clippy_lints" }