Function rustc_incremental::finalize_session_directory [] [src]

pub fn finalize_session_directory(sess: &Session, svh: Svh)
🔬 This is a nightly-only experimental API. (rustc_private)

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.