Cached compiler artifacts (#143)

* WIP compilation cache

* Implement a persistent compilation cache

* Correct the key and value encoding for the cache
This commit is contained in:
Omar authored and GitHub committed 2025-08-16 16:04:13 +00:00
1 parent 09d56f5177
commit 185edcfad9
12 files changed
+869 -299

No files matched your search

+8
View File
@@ -169,6 +169,14 @@ where
self
}
pub fn then(self, callback: impl FnOnce(Self) -> Self) -> Self {
callback(self)
}
pub fn try_then<E>(self, callback: impl FnOnce(Self) -> Result<Self, E>) -> Result<Self, E> {
callback(self)
}
pub async fn try_build(
self,
compiler_path: impl AsRef<Path>,