[−][src]Function rustc_incremental::finalize_session_directory
pub fn finalize_session_directory(sess: &Session, svh: Svh)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
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.