File tree 1 file changed +1
-7
lines changed
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -760,7 +760,6 @@ impl Fingerprint {
760
760
& mut self ,
761
761
pkg_root : & Path ,
762
762
target_root : & Path ,
763
- mtime_on_use : bool ,
764
763
) -> CargoResult < ( ) > {
765
764
assert ! ( !self . fs_status. up_to_date( ) ) ;
766
765
@@ -781,10 +780,6 @@ impl Fingerprint {
781
780
return Ok ( ( ) ) ;
782
781
}
783
782
} ;
784
- if mtime_on_use {
785
- let t = FileTime :: from_system_time ( SystemTime :: now ( ) ) ;
786
- filetime:: set_file_times ( output, t, t) ?;
787
- }
788
783
assert ! ( mtimes. insert( output. clone( ) , mtime) . is_none( ) ) ;
789
784
}
790
785
@@ -1024,8 +1019,7 @@ fn calculate<'a, 'cfg>(
1024
1019
// After we built the initial `Fingerprint` be sure to update the
1025
1020
// `fs_status` field of it.
1026
1021
let target_root = target_root ( cx, unit) ;
1027
- let mtime_on_use = cx. bcx . config . cli_unstable ( ) . mtime_on_use ;
1028
- fingerprint. check_filesystem ( unit. pkg . root ( ) , & target_root, mtime_on_use) ?;
1022
+ fingerprint. check_filesystem ( unit. pkg . root ( ) , & target_root) ?;
1029
1023
1030
1024
let fingerprint = Arc :: new ( fingerprint) ;
1031
1025
cx. fingerprints . insert ( * unit, Arc :: clone ( & fingerprint) ) ;
You can’t perform that action at this time.
0 commit comments