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 @@ -2137,8 +2137,8 @@ impl<'test> TestCx<'test> {
2137
2137
let aux_dir = self . aux_output_dir ( ) ;
2138
2138
self . build_all_auxiliary ( & self . testpaths , & aux_dir, & mut rustc) ;
2139
2139
2140
- self . props . unset_rustc_env . iter ( ) . fold ( & mut rustc, Command :: env_remove) ;
2141
2140
rustc. envs ( self . props . rustc_env . clone ( ) ) ;
2141
+ self . props . unset_rustc_env . iter ( ) . fold ( & mut rustc, Command :: env_remove) ;
2142
2142
self . compose_and_run (
2143
2143
rustc,
2144
2144
self . config . compile_lib_path . to_str ( ) . unwrap ( ) ,
@@ -2184,10 +2184,10 @@ impl<'test> TestCx<'test> {
2184
2184
) ;
2185
2185
aux_cx. build_all_auxiliary ( of, & aux_dir, & mut aux_rustc) ;
2186
2186
2187
+ aux_rustc. envs ( aux_props. rustc_env . clone ( ) ) ;
2187
2188
for key in & aux_props. unset_rustc_env {
2188
2189
aux_rustc. env_remove ( key) ;
2189
2190
}
2190
- aux_rustc. envs ( aux_props. rustc_env . clone ( ) ) ;
2191
2191
2192
2192
let ( aux_type, crate_type) = if is_bin {
2193
2193
( AuxType :: Bin , Some ( "bin" ) )
You can’t perform that action at this time.
0 commit comments