Update salsa (#12711)

This commit is contained in:
Micha Reiser 2024-08-06 15:17:39 +02:00 committed by GitHub
parent 8e6aa78796
commit 846f57fd15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 92 additions and 131 deletions

View file

@ -252,6 +252,13 @@ impl Files {
.to(FileRevision::now());
}
}
#[must_use]
pub fn snapshot(&self) -> Self {
Self {
inner: Arc::clone(&self.inner),
}
}
}
impl std::fmt::Debug for Files {
@ -265,6 +272,8 @@ impl std::fmt::Debug for Files {
}
}
impl std::panic::RefUnwindSafe for Files {}
/// A file that's either stored on the host system's file system or in the vendored file system.
#[salsa::input]
pub struct File {