Browse Source

Revert "Temporarily disable SIMD fuzzing on CI" (#3555)

This reverts commit 95e8723d07.
pull/3557/head
Alex Crichton 3 years ago
committed by GitHub
parent
commit
e08bcd6aad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      crates/fuzzing/src/generators.rs
  2. 1
      crates/fuzzing/src/lib.rs
  3. 2
      fuzz/fuzz_targets/differential_v8.rs

6
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
}

1
crates/fuzzing/src/lib.rs

@ -40,6 +40,7 @@ pub fn fuzz_default_config(strategy: wasmtime::Strategy) -> anyhow::Result<wasmt
.wasm_reference_types(true)
.wasm_module_linking(true)
.wasm_multi_memory(true)
.wasm_simd(true)
.wasm_memory64(true)
.strategy(strategy)?;
Ok(config)

2
fuzz/fuzz_targets/differential_v8.rs

@ -5,7 +5,7 @@ use wasmtime_fuzzing::{generators, oracles};
fuzz_target!(|data: (
generators::Config,
wasm_smith::ConfiguredModule<oracles::SingleFunctionModuleConfig<false, true>>
wasm_smith::ConfiguredModule<oracles::SingleFunctionModuleConfig<true, true>>
)| {
let (config, mut wasm) = data;
wasm.module.ensure_termination(1000);

Loading…
Cancel
Save