@@ -561,8 +561,6 @@ fn asm_tests(env: &Env, args: &TestArg) -> Result<(), String> {
561
561
// FIXME: create a function "display_if_not_quiet" or something along the line.
562
562
println ! ( "[TEST] rustc asm test suite" ) ;
563
563
564
- env. insert ( "COMPILETEST_FORCE_STAGE0" . to_string ( ) , "1" . to_string ( ) ) ;
565
-
566
564
let codegen_backend_path = format ! (
567
565
"{pwd}/target/{channel}/librustc_codegen_gcc.{dylib_ext}" ,
568
566
pwd = std:: env:: current_dir( )
@@ -588,6 +586,8 @@ fn asm_tests(env: &Env, args: &TestArg) -> Result<(), String> {
588
586
& "always" ,
589
587
& "--stage" ,
590
588
& "0" ,
589
+ & "--set" ,
590
+ & "build.compiletest-allow-stage0=true" ,
591
591
& "tests/assembly-llvm/asm" ,
592
592
& "--compiletest-rustc-args" ,
593
593
& rustc_args,
@@ -1047,7 +1047,6 @@ where
1047
1047
1048
1048
// FIXME: create a function "display_if_not_quiet" or something along the line.
1049
1049
println ! ( "[TEST] rustc {test_type} test suite" ) ;
1050
- env. insert ( "COMPILETEST_FORCE_STAGE0" . to_string ( ) , "1" . to_string ( ) ) ;
1051
1050
1052
1051
let extra =
1053
1052
if args. is_using_gcc_master_branch ( ) { "" } else { " -Csymbol-mangling-version=v0" } ;
@@ -1070,6 +1069,8 @@ where
1070
1069
& "always" ,
1071
1070
& "--stage" ,
1072
1071
& "0" ,
1072
+ & "--set" ,
1073
+ & "build.compiletest-allow-stage0=true" ,
1073
1074
& format ! ( "tests/{test_type}" ) ,
1074
1075
& "--compiletest-rustc-args" ,
1075
1076
& rustc_args,
0 commit comments