diff --git a/crates/fuzzing/src/generators.rs b/crates/fuzzing/src/generators.rs index 295ea29a41..9c52c30f6c 100644 --- a/crates/fuzzing/src/generators.rs +++ b/crates/fuzzing/src/generators.rs @@ -213,6 +213,12 @@ impl wasm_smith::Config for WasmtimeDefaultConfig { 4 } + // Turn some wasm features default-on for those that have a finished + // implementation in Wasmtime. + fn simd_enabled(&self) -> bool { + true + } + fn reference_types_enabled(&self) -> bool { true } diff --git a/crates/fuzzing/src/lib.rs b/crates/fuzzing/src/lib.rs index 4e93b52216..16b9441caf 100644 --- a/crates/fuzzing/src/lib.rs +++ b/crates/fuzzing/src/lib.rs @@ -40,6 +40,7 @@ pub fn fuzz_default_config(strategy: wasmtime::Strategy) -> anyhow::Result> + wasm_smith::ConfiguredModule> )| { let (config, mut wasm) = data; wasm.module.ensure_termination(1000);