Tiny comment fixes.
This commit is contained in:
parent
8da1b33153
commit
3cf2a7441f
@ -53,7 +53,7 @@
|
|||||||
//! ## Synchronization
|
//! ## Synchronization
|
||||||
//!
|
//!
|
||||||
//! There is some synchronization needed in order for the compiler to be able to
|
//! There is some synchronization needed in order for the compiler to be able to
|
||||||
//! determine whether a given private session directory is not in used any more.
|
//! determine whether a given private session directory is not in use any more.
|
||||||
//! This is done by creating a lock file for each session directory and
|
//! This is done by creating a lock file for each session directory and
|
||||||
//! locking it while the directory is still being used. Since file locks have
|
//! locking it while the directory is still being used. Since file locks have
|
||||||
//! operating system support, we can rely on the lock being released if the
|
//! operating system support, we can rely on the lock being released if the
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//! Code to save/load the dep-graph from files.
|
//! Code to load the dep-graph from files.
|
||||||
|
|
||||||
use crate::errors;
|
use crate::errors;
|
||||||
use rustc_data_structures::memmap::Mmap;
|
use rustc_data_structures::memmap::Mmap;
|
||||||
|
@ -11,7 +11,8 @@ use rustc_session::Session;
|
|||||||
use std::fs as std_fs;
|
use std::fs as std_fs;
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
||||||
/// Copies a CGU work product to the incremental compilation directory, so next compilation can find and reuse it.
|
/// Copies a CGU work product to the incremental compilation directory, so next compilation can
|
||||||
|
/// find and reuse it.
|
||||||
pub fn copy_cgu_workproduct_to_incr_comp_cache_dir(
|
pub fn copy_cgu_workproduct_to_incr_comp_cache_dir(
|
||||||
sess: &Session,
|
sess: &Session,
|
||||||
cgu_name: &str,
|
cgu_name: &str,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user