Skip to content

Commit acd4410

Browse files
committed
FIXME for lockfile
1 parent c7100b0 commit acd4410

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/librustc_incremental/persist/load.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ pub fn load_dep_graph<'tcx>(tcx: &ty::TyCtxt<'tcx>) {
4141
let _ignore = tcx.dep_graph.in_ignore();
4242

4343
if let Some(dep_graph) = dep_graph_path(tcx) {
44+
// FIXME(#32754) lock file?
4445
load_dep_graph_if_exists(tcx, &dep_graph);
4546
dirty_clean::check_dirty_clean_annotations(tcx);
4647
}

src/librustc_incremental/persist/save.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ pub fn save_dep_graph<'tcx>(tcx: &ty::TyCtxt<'tcx>) {
2424
let _ignore = tcx.dep_graph.in_ignore();
2525

2626
if let Some(dep_graph) = dep_graph_path(tcx) {
27+
// FIXME(#32754) lock file?
28+
2729
// delete the old dep-graph, if any
2830
if dep_graph.exists() {
2931
match fs::remove_file(&dep_graph) {

0 commit comments

Comments
 (0)