Add a cached fs abstraction

This commit is contained in:
Omar Abdulla
2025-08-14 17:38:12 +03:00
parent f2045db0e9
commit 7247eca2e8
11 changed files with 230 additions and 19 deletions
+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)
});