Function rustc_incremental::finalize_session_directory

source ·
pub fn finalize_session_directory(sess: &Session, svh: Option<Svh>)
Expand description

This function finalizes and thus ‘publishes’ the session directory by renaming it to s-{timestamp}-{svh} and releasing the file lock. If there have been compilation errors, however, this function will just delete the presumably invalid session directory.