Disable simd in the instantiate-swarm target

Something I forgot from #3376
This commit is contained in:
Alex Crichton
2021-09-22 07:12:33 -07:00
parent 1a5a2c7c5d
commit 5cdaf3d085

View File

@@ -25,7 +25,6 @@ fn run(data: &[u8]) -> Result<()> {
// that aren't otherwise enabled by default. We want to test all of these in
// Wasmtime.
let mut config: SwarmConfig = u.arbitrary()?;
config.simd_enabled = u.arbitrary()?;
config.module_linking_enabled = u.arbitrary()?;
config.memory64_enabled = u.arbitrary()?;
// Don't generate modules that allocate more than 6GB
@@ -35,7 +34,6 @@ fn run(data: &[u8]) -> Result<()> {
let mut cfg = wasmtime_fuzzing::fuzz_default_config(Strategy::Auto).unwrap();
cfg.wasm_multi_memory(config.max_memories > 1);
cfg.wasm_module_linking(config.module_linking_enabled);
cfg.wasm_simd(config.simd_enabled);
cfg.wasm_memory64(config.memory64_enabled);
oracles::instantiate_with_config(&module.to_bytes(), true, cfg, timeout);