Add a cached fs abstraction (#141)

This commit is contained in:
Omar
2025-08-14 18:21:05 +03:00
committed by GitHub
parent f2045db0e9
commit a59e287fa1
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)
});