about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/bootstrap/test.rs2
-rw-r--r--src/bootstrap/tool.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 6e37bf33452..51412f79c3d 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -213,7 +213,7 @@ impl Step for Cargo {
         });
         let mut cargo = tool::prepare_tool_cargo(builder,
                                                  compiler,
-                                                 Mode::ToolStd,
+                                                 Mode::ToolRustc,
                                                  self.host,
                                                  "test",
                                                  "src/tools/cargo",
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
index b12ccc4f39d..9dbcacf7026 100644
--- a/src/bootstrap/tool.rs
+++ b/src/bootstrap/tool.rs
@@ -514,7 +514,7 @@ impl Step for Cargo {
             compiler: self.compiler,
             target: self.target,
             tool: "cargo",
-            mode: Mode::ToolStd,
+            mode: Mode::ToolRustc,
             path: "src/tools/cargo",
             is_optional_tool: false,
             source_type: SourceType::Submodule,