fix(solc): via-ir should be optional (#1664)
This commit is contained in:
parent
e425b55c92
commit
fca8f997fa
|
@ -947,8 +947,10 @@ pub struct MetadataSettings {
|
||||||
/// since metadata is per file
|
/// since metadata is per file
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub libraries: BTreeMap<String, String>,
|
pub libraries: BTreeMap<String, String>,
|
||||||
#[serde(rename = "viaIR")]
|
/// Change compilation pipeline to go through the Yul intermediate representation. This is
|
||||||
pub via_ir: bool,
|
/// false by default.
|
||||||
|
#[serde(rename = "viaIR", default, skip_serializing_if = "Option::is_none")]
|
||||||
|
pub via_ir: Option<bool>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Compilation source files/source units, keys are file names
|
/// Compilation source files/source units, keys are file names
|
||||||
|
|
Loading…
Reference in New Issue