@@ -458,7 +458,7 @@ impl<'test> TestCx<'test> {
458458
459459 self . compose_and_run (
460460 rustc,
461- self . config . compile_lib_path . as_path ( ) ,
461+ self . config . host_compile_lib_path . as_path ( ) ,
462462 Some ( aux_dir. as_path ( ) ) ,
463463 src,
464464 )
@@ -1321,7 +1321,7 @@ impl<'test> TestCx<'test> {
13211321 self . props . unset_rustc_env . iter ( ) . fold ( & mut rustc, Command :: env_remove) ;
13221322 self . compose_and_run (
13231323 rustc,
1324- self . config . compile_lib_path . as_path ( ) ,
1324+ self . config . host_compile_lib_path . as_path ( ) ,
13251325 Some ( aux_dir. as_path ( ) ) ,
13261326 input,
13271327 )
@@ -1344,7 +1344,8 @@ impl<'test> TestCx<'test> {
13441344 rustc. arg ( "-Cpanic=abort" ) ;
13451345 rustc. args ( self . props . minicore_compile_flags . clone ( ) ) ;
13461346
1347- let res = self . compose_and_run ( rustc, self . config . compile_lib_path . as_path ( ) , None , None ) ;
1347+ let res =
1348+ self . compose_and_run ( rustc, self . config . host_compile_lib_path . as_path ( ) , None , None ) ;
13481349 if !res. status . success ( ) {
13491350 self . fatal_proc_rec (
13501351 & format ! ( "auxiliary build of {} failed to compile: " , self . config. minicore_path) ,
@@ -1458,7 +1459,7 @@ impl<'test> TestCx<'test> {
14581459
14591460 let auxres = aux_cx. compose_and_run (
14601461 aux_rustc,
1461- aux_cx. config . compile_lib_path . as_path ( ) ,
1462+ aux_cx. config . host_compile_lib_path . as_path ( ) ,
14621463 Some ( aux_dir. as_path ( ) ) ,
14631464 None ,
14641465 ) ;
0 commit comments