about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2020-10-14 14:28:57 +0200
committerJonas Schievink <jonas.schievink@ferrous-systems.com>2020-10-19 16:37:04 +0200
commit77a7ccf869db577c0d7262965c0ecdd1f50a49b8 (patch)
treef7eebf7026bd2079152fba8423d55d7c2301acb1
parent0558e6eb9337960a1415e037ae7a44e3aa947479 (diff)
downloadrust-77a7ccf869db577c0d7262965c0ecdd1f50a49b8.tar.gz
rust-77a7ccf869db577c0d7262965c0ecdd1f50a49b8.zip
bootstrap: configure native toolchain for run-make
This allows moving a lot of run-make-fulldeps tests to just run-make
tests, and allows running those on target-only platforms
-rw-r--r--src/bootstrap/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 33e85dc5e2a..6c2c05ac719 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -1202,7 +1202,7 @@ note: if you're sure you want to do this, please open an issue as to why. In the
 
             // Only pass correct values for these flags for the `run-make` suite as it
             // requires that a C++ compiler was configured which isn't always the case.
-            if !builder.config.dry_run && suite == "run-make-fulldeps" {
+            if !builder.config.dry_run && matches!(suite, "run-make" | "run-make-fulldeps") {
                 cmd.arg("--cc")
                     .arg(builder.cc(target))
                     .arg("--cxx")