@@ -11,22 +11,18 @@ use super::utils::{copy_dir_recursively, git_command, retry_spawn_and_wait, spaw
1111pub ( crate ) fn prepare ( dirs : & Dirs ) {
1212 RelPath :: DOWNLOAD . ensure_fresh ( dirs) ;
1313
14- spawn_and_wait ( super :: build_backend:: CG_CLIF . fetch ( "cargo" , dirs) ) ;
14+ spawn_and_wait ( super :: build_backend:: CG_CLIF . fetch ( "cargo" , "rustc" , dirs) ) ;
1515
1616 prepare_sysroot ( dirs) ;
17- spawn_and_wait ( super :: build_sysroot:: STANDARD_LIBRARY . fetch ( "cargo" , dirs) ) ;
18- spawn_and_wait ( super :: tests:: LIBCORE_TESTS . fetch ( "cargo" , dirs) ) ;
17+ spawn_and_wait ( super :: build_sysroot:: STANDARD_LIBRARY . fetch ( "cargo" , "rustc" , dirs) ) ;
18+ spawn_and_wait ( super :: tests:: LIBCORE_TESTS . fetch ( "cargo" , "rustc" , dirs) ) ;
1919
20- super :: abi_cafe:: ABI_CAFE_REPO . fetch ( dirs) ;
21- spawn_and_wait ( super :: abi_cafe:: ABI_CAFE . fetch ( "cargo" , dirs) ) ;
2220 super :: tests:: RAND_REPO . fetch ( dirs) ;
23- spawn_and_wait ( super :: tests:: RAND . fetch ( "cargo" , dirs) ) ;
21+ spawn_and_wait ( super :: tests:: RAND . fetch ( "cargo" , "rustc" , dirs) ) ;
2422 super :: tests:: REGEX_REPO . fetch ( dirs) ;
25- spawn_and_wait ( super :: tests:: REGEX . fetch ( "cargo" , dirs) ) ;
23+ spawn_and_wait ( super :: tests:: REGEX . fetch ( "cargo" , "rustc" , dirs) ) ;
2624 super :: tests:: PORTABLE_SIMD_REPO . fetch ( dirs) ;
27- spawn_and_wait ( super :: tests:: PORTABLE_SIMD . fetch ( "cargo" , dirs) ) ;
28- super :: bench:: SIMPLE_RAYTRACER_REPO . fetch ( dirs) ;
29- spawn_and_wait ( super :: bench:: SIMPLE_RAYTRACER . fetch ( "cargo" , dirs) ) ;
25+ spawn_and_wait ( super :: tests:: PORTABLE_SIMD . fetch ( "cargo" , "rustc" , dirs) ) ;
3026}
3127
3228fn prepare_sysroot ( dirs : & Dirs ) {
@@ -80,7 +76,7 @@ impl GitRepo {
8076 }
8177 }
8278
83- fn fetch ( & self , dirs : & Dirs ) {
79+ pub ( crate ) fn fetch ( & self , dirs : & Dirs ) {
8480 match self . url {
8581 GitRepoUrl :: Github { user, repo } => {
8682 clone_repo_shallow_github (
0 commit comments