Skip to content

Commit

Permalink
chore: don't call WASM.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Apr 30, 2024
1 parent 93d29b2 commit 21fdbaa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/src/scanner/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -638,8 +638,9 @@ impl<'r> Scanner<'r> {
// while ScanContext::search_for_patterns is being executed, the result
// will be Ok(1). If the scan completes successfully the result is
// Ok(0).`
let func_result =
self.wasm_main_func.call(self.wasm_store.as_context_mut(), ());
//let func_result =
// self.wasm_main_func.call(self.wasm_store.as_context_mut(), ());
let func_result = Ok(0);

let ctx = self.wasm_store.data_mut();

Expand Down

0 comments on commit 21fdbaa

Please sign in to comment.