"tools/remote-test-client",
"tools/remote-test-server",
"tools/rust-installer",
- "tools/cargo",
"tools/rustdoc",
- "tools/rls",
- "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",
]
# Curiously, libtest will segfault if compiled with opt-level=3
debug = false
debug-assertions = false
-# We want the RLS to use the version of Cargo that we've got vendored in this
-# repository to ensure that the same exact version of Cargo is used by both the
-# RLS and the Cargo binary itself. The RLS depends on Cargo as a git repository
-# so we use a `[patch]` here to override the github repository with our local
-# vendored copy.
-[patch."https://github.com/rust-lang/cargo"]
-cargo = { path = "tools/cargo" }
-
-[patch."https://github.com/rust-lang-nursery/rustfmt"]
-# 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 vesion).
-rustfmt-nightly = { path = "tools/rustfmt" }
os.path.join(self.rust_root, "src/bootstrap/Cargo.toml")]
for _ in range(1, self.verbose):
args.append("--verbose")
- if self.use_locked_deps:
- args.append("--locked")
- if self.use_vendored_sources:
- args.append("--frozen")
run(args, env=env, verbose=self.verbose)
def build_triple(self):