@@ -11,22 +11,18 @@ use super::utils::{copy_dir_recursively, git_command, retry_spawn_and_wait, spaw
11
11
pub ( crate ) fn prepare ( dirs : & Dirs ) {
12
12
RelPath :: DOWNLOAD . ensure_fresh ( dirs) ;
13
13
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) ) ;
15
15
16
16
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) ) ;
19
19
20
- super :: abi_cafe:: ABI_CAFE_REPO . fetch ( dirs) ;
21
- spawn_and_wait ( super :: abi_cafe:: ABI_CAFE . fetch ( "cargo" , dirs) ) ;
22
20
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) ) ;
24
22
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) ) ;
26
24
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) ) ;
30
26
}
31
27
32
28
fn prepare_sysroot ( dirs : & Dirs ) {
@@ -80,7 +76,7 @@ impl GitRepo {
80
76
}
81
77
}
82
78
83
- fn fetch ( & self , dirs : & Dirs ) {
79
+ pub ( crate ) fn fetch ( & self , dirs : & Dirs ) {
84
80
match self . url {
85
81
GitRepoUrl :: Github { user, repo } => {
86
82
clone_repo_shallow_github (
0 commit comments