summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-10-09 17:54:49 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-10-12 08:55:57 -0700
commit7ac017d8f3d54b98ae67d6fa4fbe3ead25dcd63d (patch)
tree0b889d4140b87a6c27fdc6f693973514e8307241 /src/bootstrap
parent692b94ae25e0ae7d74cf15a5800e10a16239dab1 (diff)
Prepare the 1.22.0 beta
This updates the Cargo submodule a bit but is otherwise pretty routine.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/check.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bootstrap/check.rs b/src/bootstrap/check.rs
index 6e276f44668..bd9d29be96f 100644
--- a/src/bootstrap/check.rs
+++ b/src/bootstrap/check.rs
@@ -246,13 +246,17 @@ impl Step for Rls {
         let compiler = builder.compiler(stage, host);
 
         builder.ensure(tool::Rls { compiler, target: self.host });
-        let mut cargo = builder.cargo(compiler, Mode::Tool, host, "test");
-        cargo.arg("--manifest-path").arg(build.src.join("src/tools/rls/Cargo.toml"));
+        let mut cargo = tool::prepare_tool_cargo(builder,
+                                                 compiler,
+                                                 host,
+                                                 "test",
+                                                 "src/tools/rls");
 
         // Don't build tests dynamically, just a pain to work with
         cargo.env("RUSTC_NO_PREFER_DYNAMIC", "1");
 
         builder.add_rustc_lib_path(compiler, &mut cargo);
+        cargo.arg("--").args(&build.config.cmd.test_args());
 
         try_run_expecting(
             build,