Skip to content

Commit

Permalink
add comment about config mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Jan 24, 2024
1 parent 9cd9ff1 commit d1b570f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/fuzzing/src/oracles/diff_wasmi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pub struct WasmiEngine {
impl WasmiEngine {
pub(crate) fn new(config: &mut Config) -> Self {
let config = &mut config.module_config.config;
// Force generated Wasm modules to never have features that Wasmi doesn't support.
config.simd_enabled = false;
config.relaxed_simd_enabled = false;
config.memory64_enabled = false;
Expand Down

0 comments on commit d1b570f

Please sign in to comment.