File tree 1 file changed +2
-2
lines changed
src/tools/compiletest/src
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2173,8 +2173,8 @@ impl<'test> TestCx<'test> {
2173
2173
let aux_dir = self . aux_output_dir ( ) ;
2174
2174
self . build_all_auxiliary ( & self . testpaths , & aux_dir, & mut rustc) ;
2175
2175
2176
- self . props . unset_rustc_env . iter ( ) . fold ( & mut rustc, Command :: env_remove) ;
2177
2176
rustc. envs ( self . props . rustc_env . clone ( ) ) ;
2177
+ self . props . unset_rustc_env . iter ( ) . fold ( & mut rustc, Command :: env_remove) ;
2178
2178
self . compose_and_run (
2179
2179
rustc,
2180
2180
self . config . compile_lib_path . to_str ( ) . unwrap ( ) ,
@@ -2220,10 +2220,10 @@ impl<'test> TestCx<'test> {
2220
2220
) ;
2221
2221
aux_cx. build_all_auxiliary ( of, & aux_dir, & mut aux_rustc) ;
2222
2222
2223
+ aux_rustc. envs ( aux_props. rustc_env . clone ( ) ) ;
2223
2224
for key in & aux_props. unset_rustc_env {
2224
2225
aux_rustc. env_remove ( key) ;
2225
2226
}
2226
- aux_rustc. envs ( aux_props. rustc_env . clone ( ) ) ;
2227
2227
2228
2228
let ( aux_type, crate_type) = if is_bin {
2229
2229
( AuxType :: Bin , Some ( "bin" ) )
You can’t perform that action at this time.
0 commit comments