Skip to content

Commit 26e8c35

Browse files
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
1 parent cae95c7 commit 26e8c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,7 @@ note: if you're sure you want to do this, please open an issue as to why. In the
12011201

12021202
// Only pass correct values for these flags for the `run-make` suite as it
12031203
// requires that a C++ compiler was configured which isn't always the case.
1204-
if !builder.config.dry_run && suite == "run-make-fulldeps" {
1204+
if !builder.config.dry_run && matches!(suite, "run-make" | "run-make-fulldeps") {
12051205
cmd.arg("--cc")
12061206
.arg(builder.cc(target))
12071207
.arg("--cxx")

0 commit comments

Comments
 (0)