@@ -1459,12 +1459,12 @@ fn download_ci_rustc(builder: &Builder<'_>, commit: &str) {
1459
1459
}
1460
1460
let filename = format ! ( "rust-std-{CHANNEL}-{host}.tar.xz" ) ;
1461
1461
let pattern = format ! ( "rust-std-{host}" ) ;
1462
- download_component ( builder, filename, & pattern, commit) ;
1462
+ download_ci_component ( builder, filename, & pattern, commit) ;
1463
1463
let filename = format ! ( "rustc-{CHANNEL}-{host}.tar.xz" ) ;
1464
- download_component ( builder, filename, "rustc" , commit) ;
1464
+ download_ci_component ( builder, filename, "rustc" , commit) ;
1465
1465
// download-rustc doesn't need its own cargo, it can just use beta's.
1466
1466
let filename = format ! ( "rustc-dev-{CHANNEL}-{host}.tar.xz" ) ;
1467
- download_component ( builder, filename, "rustc-dev" , commit) ;
1467
+ download_ci_component ( builder, filename, "rustc-dev" , commit) ;
1468
1468
1469
1469
builder. fix_bin_or_dylib ( & bin_root. join ( "bin" ) . join ( "rustc" ) ) ;
1470
1470
builder. fix_bin_or_dylib ( & bin_root. join ( "bin" ) . join ( "rustdoc" ) ) ;
@@ -1481,7 +1481,7 @@ fn download_ci_rustc(builder: &Builder<'_>, commit: &str) {
1481
1481
1482
1482
/// Download a single component of a CI-built toolchain (not necessarily a published nightly).
1483
1483
// NOTE: intentionally takes an owned string to avoid downloading multiple times by accident
1484
- fn download_component ( builder : & Builder < ' _ > , filename : String , prefix : & str , commit : & str ) {
1484
+ fn download_ci_component ( builder : & Builder < ' _ > , filename : String , prefix : & str , commit : & str ) {
1485
1485
let cache_dst = builder. out . join ( "cache" ) ;
1486
1486
let rustc_cache = cache_dst. join ( commit) ;
1487
1487
if !rustc_cache. exists ( ) {
0 commit comments