Function rustc_incremental::persist::fs::finalize_session_directory
source · 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.