File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ fn main() {
1414 let program = args. next ( ) . expect ( "Unexpected empty args" ) ;
1515
1616 let out_dir = PathBuf :: from (
17- env:: var_os ( "GCCTEST_OUT_DIR " )
18- . unwrap_or_else ( || panic ! ( "{}: GCCTEST_OUT_DIR not found" , program) ) ,
17+ env:: var_os ( "CC_SHIM_OUT_DIR " )
18+ . unwrap_or_else ( || panic ! ( "{}: CC_SHIM_OUT_DIR not found" , program) ) ,
1919 ) ;
2020
2121 // Find the first nonexistent candidate file to which the program's args can be written.
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ impl Test {
4444 if gcc. ends_with ( "deps" ) {
4545 gcc. pop ( ) ;
4646 }
47- let td = Builder :: new ( ) . prefix ( "gcc -test" ) . tempdir_in ( & gcc) . unwrap ( ) ;
48- gcc. push ( format ! ( "gcc -shim{}" , env:: consts:: EXE_SUFFIX ) ) ;
47+ let td = Builder :: new ( ) . prefix ( "cc-shim -test" ) . tempdir_in ( & gcc) . unwrap ( ) ;
48+ gcc. push ( format ! ( "cc -shim{}" , env:: consts:: EXE_SUFFIX ) ) ;
4949 Test {
5050 td,
5151 gcc,
@@ -98,7 +98,7 @@ impl Test {
9898 . debug ( false )
9999 . out_dir ( self . td . path ( ) )
100100 . __set_env ( "PATH" , self . path ( ) )
101- . __set_env ( "GCCTEST_OUT_DIR " , self . td . path ( ) ) ;
101+ . __set_env ( "CC_SHIM_OUT_DIR " , self . td . path ( ) ) ;
102102 if self . msvc {
103103 cfg. compiler ( self . td . path ( ) . join ( "cl" ) ) ;
104104 cfg. archiver ( self . td . path ( ) . join ( "lib.exe" ) ) ;
You can’t perform that action at this time.
0 commit comments