"tools/rustfmt",
"tools/miri",
"tools/rustdoc-themes",
- # FIXME(https://github.com/rust-lang/cargo/issues/4089): move these to exclude
- "tools/rls/test_data/bin_lib",
- "tools/rls/test_data/borrow_error",
- "tools/rls/test_data/common",
- "tools/rls/test_data/deglob",
- "tools/rls/test_data/features",
- "tools/rls/test_data/find_all_refs_no_cfg_test",
- "tools/rls/test_data/find_impls",
- "tools/rls/test_data/infer_bin",
- "tools/rls/test_data/infer_custom_bin",
- "tools/rls/test_data/infer_lib",
- "tools/rls/test_data/multiple_bins",
- "tools/rls/test_data/reformat",
- "tools/rls/test_data/reformat_with_range",
- "tools/rls/test_data/workspace_symbol",
+]
+exclude = [
+ "tools/rls/test_data",
]
# Curiously, LLVM 7.0 will segfault if compiled with opt-level=3
[patch."https://github.com/rust-lang/cargo"]
cargo = { path = "tools/cargo" }
-[patch."https://github.com/rust-lang-nursery/rustfmt"]
+[patch.crates-io]
# Similar to Cargo above we want the RLS to use a vendored version of `rustfmt`
# that we're shipping as well (to ensure that the rustfmt in RLS and the
# `rustfmt` executable are the same exact version).
rustfmt-nightly = { path = "tools/rustfmt" }
+# See comments in `tools/rustc-workspace-hack/README.md` for what's going on
+# here
+rustc-workspace-hack = { path = 'tools/rustc-workspace-hack' }
+
[patch."https://github.com/rust-lang-nursery/rust-clippy"]
clippy_lints = { path = "tools/clippy/clippy_lints" }