mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-04-29 03:08:00 +00:00
84a5647a8b
Signed-off-by: xermicus <bigcyrill@hotmail.com>
26 lines
570 B
Rust
26 lines
570 B
Rust
//! Implements the [SolidityCompiler] trait with solc for
|
|
//! compiling contracts to EVM bytecode.
|
|
|
|
use revive_solc_json_interface::{SolcStandardJsonInput, SolcStandardJsonOutput};
|
|
use semver::Version;
|
|
|
|
use crate::SolidityCompiler;
|
|
|
|
pub struct Solc {}
|
|
|
|
impl SolidityCompiler for Solc {
|
|
type Options = ();
|
|
|
|
fn build(
|
|
&self,
|
|
_input: &SolcStandardJsonInput,
|
|
_extra_options: &Option<Self::Options>,
|
|
) -> anyhow::Result<SolcStandardJsonOutput> {
|
|
todo!()
|
|
}
|
|
|
|
fn new(_solc_version: &Version) -> Self {
|
|
todo!()
|
|
}
|
|
}
|