File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/tools/compiletest/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2137,8 +2137,8 @@ impl<'test> TestCx<'test> {
21372137 let aux_dir = self . aux_output_dir ( ) ;
21382138 self . build_all_auxiliary ( & self . testpaths , & aux_dir, & mut rustc) ;
21392139
2140- self . props . unset_rustc_env . iter ( ) . fold ( & mut rustc, Command :: env_remove) ;
21412140 rustc. envs ( self . props . rustc_env . clone ( ) ) ;
2141+ self . props . unset_rustc_env . iter ( ) . fold ( & mut rustc, Command :: env_remove) ;
21422142 self . compose_and_run (
21432143 rustc,
21442144 self . config . compile_lib_path . to_str ( ) . unwrap ( ) ,
@@ -2184,10 +2184,10 @@ impl<'test> TestCx<'test> {
21842184 ) ;
21852185 aux_cx. build_all_auxiliary ( of, & aux_dir, & mut aux_rustc) ;
21862186
2187+ aux_rustc. envs ( aux_props. rustc_env . clone ( ) ) ;
21872188 for key in & aux_props. unset_rustc_env {
21882189 aux_rustc. env_remove ( key) ;
21892190 }
2190- aux_rustc. envs ( aux_props. rustc_env . clone ( ) ) ;
21912191
21922192 let ( aux_type, crate_type) = if is_bin {
21932193 ( AuxType :: Bin , Some ( "bin" ) )
You can’t perform that action at this time.
0 commit comments