Add a cached fs abstraction

This commit is contained in:
Omar Abdulla committed 2025-08-14 17:38:12 +03:00
1 parent f2045db0e9
commit 7247eca2e8
11 files changed
+230 -19

No files matched your search

+1
View File
@@ -714,6 +714,7 @@ async fn compile_contracts<P: Platform>(
// library.
compiler = FilesWithExtensionIterator::new(metadata.directory()?)
.with_allowed_extension("sol")
.with_use_cached_fs(true)
.fold(compiler, |compiler, path| {
compiler.with_library(&path, library_ident.as_str(), *library_address)
});