File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
compiler/rustc_incremental/src/persist Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5353//! ## Synchronization
5454//!
5555//! 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.
5757//! This is done by creating a lock file for each session directory and
5858//! locking it while the directory is still being used. Since file locks have
5959//! 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.
22
33use crate :: errors;
44use rustc_data_structures:: memmap:: Mmap ;
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ use rustc_session::Session;
1111use std:: fs as std_fs;
1212use std:: path:: Path ;
1313
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.
1516pub fn copy_cgu_workproduct_to_incr_comp_cache_dir (
1617 sess : & Session ,
1718 cgu_name : & str ,
You can’t perform that action at this time.
0 commit comments