]>
Commit | Line | Data |
---|---|---|
476ff2be SL |
1 | [workspace] |
2 | members = [ | |
3 | "bootstrap", | |
4 | "rustc", | |
8bb4bdeb XL |
5 | "libstd", |
6 | "libtest", | |
2c00a5a8 | 7 | "librustc_trans", |
476ff2be | 8 | "tools/cargotest", |
abe05a73 | 9 | "tools/clippy", |
476ff2be SL |
10 | "tools/compiletest", |
11 | "tools/error_index_generator", | |
12 | "tools/linkchecker", | |
13 | "tools/rustbook", | |
041b39d2 | 14 | "tools/unstable-book-gen", |
476ff2be | 15 | "tools/tidy", |
32a655c1 | 16 | "tools/build-manifest", |
7cac9316 XL |
17 | "tools/remote-test-client", |
18 | "tools/remote-test-server", | |
19 | "tools/rust-installer", | |
20 | "tools/cargo", | |
3b2f2976 XL |
21 | "tools/rustdoc", |
22 | "tools/rls", | |
ea8adc8c | 23 | "tools/rustfmt", |
ff7c6d11 | 24 | "tools/miri", |
2c00a5a8 | 25 | "tools/rustdoc-themes", |
3b2f2976 | 26 | # FIXME(https://github.com/rust-lang/cargo/issues/4089): move these to exclude |
ff7c6d11 | 27 | "tools/rls/test_data/bin_lib", |
3b2f2976 | 28 | "tools/rls/test_data/borrow_error", |
abe05a73 | 29 | "tools/rls/test_data/common", |
ff7c6d11 | 30 | "tools/rls/test_data/deglob", |
abe05a73 | 31 | "tools/rls/test_data/features", |
3b2f2976 | 32 | "tools/rls/test_data/find_all_refs_no_cfg_test", |
3b2f2976 XL |
33 | "tools/rls/test_data/find_impls", |
34 | "tools/rls/test_data/infer_bin", | |
35 | "tools/rls/test_data/infer_custom_bin", | |
36 | "tools/rls/test_data/infer_lib", | |
ff7c6d11 XL |
37 | "tools/rls/test_data/multiple_bins", |
38 | "tools/rls/test_data/reformat", | |
39 | "tools/rls/test_data/reformat_with_range", | |
ea8adc8c | 40 | "tools/rls/test_data/workspace_symbol", |
476ff2be SL |
41 | ] |
42 | ||
476ff2be SL |
43 | # These options are controlled from our rustc wrapper script, so turn them off |
44 | # here and have them controlled elsewhere. | |
45 | [profile.dev] | |
46 | debug = false | |
47 | debug-assertions = false | |
48 | [profile.test] | |
49 | debug = false | |
50 | debug-assertions = false | |
ea8adc8c | 51 | |
2c00a5a8 XL |
52 | # We want the RLS to use the version of Cargo that we've got vendored in this |
53 | # repository to ensure that the same exact version of Cargo is used by both the | |
54 | # RLS and the Cargo binary itself. The RLS depends on Cargo as a git repository | |
55 | # so we use a `[patch]` here to override the github repository with our local | |
56 | # vendored copy. | |
ea8adc8c XL |
57 | [patch."https://github.com/rust-lang/cargo"] |
58 | cargo = { path = "tools/cargo" } | |
59 | ||
60 | [patch.crates-io] | |
2c00a5a8 XL |
61 | # Similar to Cargo above we want the RLS to use a vendored version of `rustfmt` |
62 | # that we're shipping as well (to ensure that the rustfmt in RLS and the | |
63 | # `rustfmt` executable are the same exact vesion). Unlike Cargo, however, the | |
64 | # RLS depends on `rustfmt` from crates.io, so we put this in a `[patch]` section | |
65 | # for crates.io | |
ea8adc8c | 66 | rustfmt-nightly = { path = "tools/rustfmt" } |
0531ce1d | 67 | clippy_lints = { path = "tools/clippy/clippy_lints" } |