]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Move lifetimes before the *first* type argument
[rust.git] / Cargo.toml
1 [workspace]
2 members = [
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",
26 ]
27 exclude = [
28   "src/tools/rls/test_data",
29 ]
30
31 # Curiously, LLVM 7.0 will segfault if compiled with opt-level=3
32 # See issue https://github.com/rust-lang/rust/issues/52378
33 [profile.release]
34 opt-level = 2
35 [profile.bench]
36 opt-level = 2
37
38 # These options are controlled from our rustc wrapper script, so turn them off
39 # here and have them controlled elsewhere.
40 [profile.dev]
41 debug = false
42 debug-assertions = false
43 [profile.test]
44 debug = false
45 debug-assertions = false
46
47 # We want the RLS to use the version of Cargo that we've got vendored in this
48 # repository to ensure that the same exact version of Cargo is used by both the
49 # RLS and the Cargo binary itself. The RLS depends on Cargo as a git repository
50 # so we use a `[patch]` here to override the github repository with our local
51 # vendored copy.
52 [patch."https://github.com/rust-lang/cargo"]
53 cargo = { path = "src/tools/cargo" }
54
55 [patch.crates-io]
56 # Similar to Cargo above we want the RLS to use a vendored version of `rustfmt`
57 # that we're shipping as well (to ensure that the rustfmt in RLS and the
58 # `rustfmt` executable are the same exact version).
59 rustfmt-nightly = { path = "src/tools/rustfmt" }
60
61 # See comments in `src/tools/rustc-workspace-hack/README.md` for what's going on
62 # here
63 rustc-workspace-hack = { path = 'src/tools/rustc-workspace-hack' }
64
65 [patch."https://github.com/rust-lang-nursery/rust-clippy"]
66 clippy_lints = { path = "src/tools/clippy/clippy_lints" }
67 rustc_tools_util = { path = "src/tools/clippy/rustc_tools_util" }