fuzz: Disable more features for spectests fuzzer (#3159)

The previous commit to eanble multi-memory and simd leaked into the
spectest fuzzer, but to pass the spec tests we can't enable these features.
This commit is contained in:
Alex Crichton
2021-08-06 16:27:42 -05:00
committed by GitHub
parent ca6325f06c
commit 480dff21e8

View File

@@ -493,6 +493,7 @@ pub fn spectest(fuzz_config: crate::generators::Config, test: crate::generators:
config.wasm_reference_types(false);
config.wasm_bulk_memory(false);
config.wasm_module_linking(false);
config.wasm_multi_memory(false);
let mut store = create_store(&Engine::new(&config).unwrap());
if fuzz_config.consume_fuel {
store.add_fuel(u64::max_value()).unwrap();