diff --git a/crates/compiler/src/lib.rs b/crates/compiler/src/lib.rs index 2266435..8997278 100644 --- a/crates/compiler/src/lib.rs +++ b/crates/compiler/src/lib.rs @@ -192,6 +192,10 @@ impl Compiler { compiler.build(self.input).await } + pub async fn dyn_try_build(self, compiler: &dyn DynSolidityCompiler) -> Result { + compiler.build(self.input).await + } + pub fn input(&self) -> &CompilerInput { &self.input }