Support the dyn compiler in the builder pattern

This commit is contained in:
Omar Abdulla
2025-09-17 19:31:12 +03:00
parent 7aadd0a7f7
commit 9e4f2e95f1
+4
View File
@@ -192,6 +192,10 @@ impl Compiler {
compiler.build(self.input).await
}
pub async fn dyn_try_build(self, compiler: &dyn DynSolidityCompiler) -> Result<CompilerOutput> {
compiler.build(self.input).await
}
pub fn input(&self) -> &CompilerInput {
&self.input
}