mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-22 21:58:01 +00:00
std json: do not request EVM bytecode (#410)
These compiler outputs are irrelevant for the `resolc` compilation pipeline. It can also break the compilation pipeline. For example, solc may reject the code without via-ir or fail during the EVM codegen phase with stack too deep errors - which is not relevant to us. --------- Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
@@ -112,4 +112,9 @@ impl Settings {
|
||||
pub fn selection_to_prune(&self) -> Selection {
|
||||
self.output_selection.selection_to_prune()
|
||||
}
|
||||
|
||||
/// Removes unneeded selections.
|
||||
pub fn retain_output_selection(&mut self) {
|
||||
self.output_selection.retain();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user