Fix fuzz build

This commit is contained in:
Chris Fallin 2023-02-27 23:17:50 -08:00
parent 816ed81ac5
commit 02795d7ad0

View file

@ -48,7 +48,7 @@ fuzz_target!(
} }
let mut opt_module = parsed_module.clone(); let mut opt_module = parsed_module.clone();
opt_module.per_func_body(|body| body.optimize()); opt_module.per_func_body(|body| body.optimize(&mut waffle::Fuel::infinite()));
opt_module.per_func_body(|body| body.convert_to_max_ssa()); opt_module.per_func_body(|body| body.convert_to_max_ssa());
let mut opt_ctx = InterpContext::new(&opt_module).unwrap(); let mut opt_ctx = InterpContext::new(&opt_module).unwrap();