File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
src/librustc_incremental/persist Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ pub fn load_dep_graph<'tcx>(tcx: &ty::TyCtxt<'tcx>) {
41
41
let _ignore = tcx. dep_graph . in_ignore ( ) ;
42
42
43
43
if let Some ( dep_graph) = dep_graph_path ( tcx) {
44
+ // FIXME(#32754) lock file?
44
45
load_dep_graph_if_exists ( tcx, & dep_graph) ;
45
46
dirty_clean:: check_dirty_clean_annotations ( tcx) ;
46
47
}
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ pub fn save_dep_graph<'tcx>(tcx: &ty::TyCtxt<'tcx>) {
24
24
let _ignore = tcx. dep_graph . in_ignore ( ) ;
25
25
26
26
if let Some ( dep_graph) = dep_graph_path ( tcx) {
27
+ // FIXME(#32754) lock file?
28
+
27
29
// delete the old dep-graph, if any
28
30
if dep_graph. exists ( ) {
29
31
match fs:: remove_file ( & dep_graph) {
You can’t perform that action at this time.
0 commit comments