mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-07-06 11:57:20 +00:00
Implement the dyn compiler trait for compilers
This commit is contained in:
@@ -37,7 +37,10 @@ pub trait DynSolidityCompiler {
|
||||
fn path(&self) -> &Path;
|
||||
|
||||
/// The low-level compiler interface.
|
||||
fn build(&self, input: CompilerInput) -> Pin<Box<dyn Future<Output = Result<CompilerOutput>>>>;
|
||||
fn build(
|
||||
&self,
|
||||
input: CompilerInput,
|
||||
) -> Pin<Box<dyn Future<Output = Result<CompilerOutput>> + '_>>;
|
||||
|
||||
/// Does the compiler support the provided mode and version settings.
|
||||
fn supports_mode(
|
||||
|
||||
Reference in New Issue
Block a user