Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr committed Aug 14, 2024
1 parent 2d5e418 commit 651a86b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions crates/compilers/src/compilers/vyper/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,20 @@ impl CompilerSettings for VyperSettings {
}

fn can_use_cached(&self, other: &Self) -> bool {
let Self { evm_version, optimize, bytecode_metadata, output_selection, search_paths } =
self;
let Self {
evm_version,
optimize,
bytecode_metadata,
output_selection,
search_paths,
experimental_codegen,
} = self;
evm_version == &other.evm_version
&& optimize == &other.optimize
&& bytecode_metadata == &other.bytecode_metadata
&& output_selection.is_subset_of(&other.output_selection)
&& search_paths == &other.search_paths
&& experimental_codegen == &other.experimental_codegen
}

fn with_include_paths(mut self, include_paths: &BTreeSet<PathBuf>) -> Self {
Expand Down

0 comments on commit 651a86b

Please sign in to comment.