Skip to content

Commit

Permalink
chore: don't enable CSE
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Nov 21, 2024
1 parent 4ee6955 commit 2ace2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capi/src/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn _yrx_compiler_create<'a>(flags: u32) -> yara_x::Compiler<'a> {
}
if flags & YRX_ENABLE_CONDITION_OPTIMIZATION != 0 {
compiler.hoisting(true);
compiler.common_subexpression_elimination(true);
compiler.common_subexpression_elimination(false);
}
if flags & YRX_COLORIZE_ERRORS != 0 {
compiler.colorize_errors(true);
Expand Down

0 comments on commit 2ace2c4

Please sign in to comment.