File tree 3 files changed +4
-3
lines changed
compiler/rustc_incremental/src/persist
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 53
53
//! ## Synchronization
54
54
//!
55
55
//! There is some synchronization needed in order for the compiler to be able to
56
- //! determine whether a given private session directory is not in used any more.
56
+ //! determine whether a given private session directory is not in use any more.
57
57
//! This is done by creating a lock file for each session directory and
58
58
//! locking it while the directory is still being used. Since file locks have
59
59
//! operating system support, we can rely on the lock being released if the
Original file line number Diff line number Diff line change 1
- //! Code to save/ load the dep-graph from files.
1
+ //! Code to load the dep-graph from files.
2
2
3
3
use crate :: errors;
4
4
use rustc_data_structures:: memmap:: Mmap ;
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ use rustc_session::Session;
11
11
use std:: fs as std_fs;
12
12
use std:: path:: Path ;
13
13
14
- /// Copies a CGU work product to the incremental compilation directory, so next compilation can find and reuse it.
14
+ /// Copies a CGU work product to the incremental compilation directory, so next compilation can
15
+ /// find and reuse it.
15
16
pub fn copy_cgu_workproduct_to_incr_comp_cache_dir (
16
17
sess : & Session ,
17
18
cgu_name : & str ,
You can’t perform that action at this time.
0 commit comments