7 "librustc_codegen_llvm",
11 "tools/error_index_generator",
14 "tools/unstable-book-gen",
16 "tools/build-manifest",
17 "tools/remote-test-client",
18 "tools/remote-test-server",
19 "tools/rust-installer",
25 "tools/rustdoc-themes",
28 "tools/rls/test_data",
31 # Curiously, LLVM 7.0 will segfault if compiled with opt-level=3
32 # See issue https://github.com/rust-lang/rust/issues/52378
38 # These options are controlled from our rustc wrapper script, so turn them off
39 # here and have them controlled elsewhere.
42 debug-assertions = false
45 debug-assertions = false
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
52 [patch."https://github.com/rust-lang/cargo"]
53 cargo = { path = "tools/cargo" }
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 = "tools/rustfmt" }
61 # See comments in `tools/rustc-workspace-hack/README.md` for what's going on
63 rustc-workspace-hack = { path = 'tools/rustc-workspace-hack' }
65 [patch."https://github.com/rust-lang-nursery/rust-clippy"]
66 clippy_lints = { path = "tools/clippy/clippy_lints" }