@@ -428,7 +428,7 @@ impl Config {
428
428
let host = self . build ;
429
429
430
430
let clippy_stamp =
431
- BuildStamp :: new ( & self . initial_sysroot ) . with_prefix ( "clippy" ) . with_stamp ( date) ;
431
+ BuildStamp :: new ( & self . initial_sysroot ) . with_prefix ( "clippy" ) . add_stamp ( date) ;
432
432
let cargo_clippy = self . initial_sysroot . join ( "bin" ) . join ( exe ( "cargo-clippy" , host) ) ;
433
433
if cargo_clippy. exists ( ) && clippy_stamp. is_up_to_date ( ) {
434
434
return cargo_clippy;
@@ -462,7 +462,7 @@ impl Config {
462
462
let host = self . build ;
463
463
let bin_root = self . out . join ( host) . join ( "rustfmt" ) ;
464
464
let rustfmt_path = bin_root. join ( "bin" ) . join ( exe ( "rustfmt" , host) ) ;
465
- let rustfmt_stamp = BuildStamp :: new ( & bin_root) . with_prefix ( "rustfmt" ) . with_stamp ( channel) ;
465
+ let rustfmt_stamp = BuildStamp :: new ( & bin_root) . with_prefix ( "rustfmt" ) . add_stamp ( channel) ;
466
466
if rustfmt_path. exists ( ) && rustfmt_stamp. is_up_to_date ( ) {
467
467
return Some ( rustfmt_path) ;
468
468
}
@@ -569,7 +569,7 @@ impl Config {
569
569
) {
570
570
let host = self . build . triple ;
571
571
let bin_root = self . out . join ( host) . join ( sysroot) ;
572
- let rustc_stamp = BuildStamp :: new ( & bin_root) . with_prefix ( "rustc" ) . with_stamp ( stamp_key) ;
572
+ let rustc_stamp = BuildStamp :: new ( & bin_root) . with_prefix ( "rustc" ) . add_stamp ( stamp_key) ;
573
573
574
574
if !bin_root. join ( "bin" ) . join ( exe ( "rustc" , self . build ) ) . exists ( )
575
575
|| !rustc_stamp. is_up_to_date ( )
@@ -732,7 +732,7 @@ download-rustc = false
732
732
let llvm_root = self . ci_llvm_root ( ) ;
733
733
let llvm_sha = detect_llvm_sha ( self , self . rust_info . is_managed_git_subrepository ( ) ) ;
734
734
let stamp_key = format ! ( "{}{}" , llvm_sha, self . llvm_assertions) ;
735
- let llvm_stamp = BuildStamp :: new ( & llvm_root) . with_prefix ( "llvm" ) . with_stamp ( stamp_key) ;
735
+ let llvm_stamp = BuildStamp :: new ( & llvm_root) . with_prefix ( "llvm" ) . add_stamp ( stamp_key) ;
736
736
if !llvm_stamp. is_up_to_date ( ) && !self . dry_run ( ) {
737
737
self . download_ci_llvm ( & llvm_sha) ;
738
738
0 commit comments