Skip to content

Commit 6520525

Browse files
Ensure that the default codegen backend is set
1 parent e22a140 commit 6520525

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build_system/src/test.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,8 @@ fn asm_tests(env: &Env, args: &TestArg) -> Result<(), String> {
588588
&"0",
589589
&"--set",
590590
&"build.compiletest-allow-stage0=true",
591+
&"--set",
592+
&"rust.codegen-backend=[\"gcc\"]",
591593
&"tests/assembly-llvm/asm",
592594
&"--compiletest-rustc-args",
593595
&rustc_args,
@@ -1071,6 +1073,8 @@ where
10711073
&"0",
10721074
&"--set",
10731075
&"build.compiletest-allow-stage0=true",
1076+
&"--set",
1077+
&"rust.codegen-backend=[\"gcc\"]",
10741078
&format!("tests/{test_type}"),
10751079
&"--compiletest-rustc-args",
10761080
&rustc_args,

0 commit comments

Comments
 (0)