Disable simd in the instantiate-swarm target
Something I forgot from #3376
This commit is contained in:
@@ -25,7 +25,6 @@ fn run(data: &[u8]) -> Result<()> {
|
|||||||
// that aren't otherwise enabled by default. We want to test all of these in
|
// that aren't otherwise enabled by default. We want to test all of these in
|
||||||
// Wasmtime.
|
// Wasmtime.
|
||||||
let mut config: SwarmConfig = u.arbitrary()?;
|
let mut config: SwarmConfig = u.arbitrary()?;
|
||||||
config.simd_enabled = u.arbitrary()?;
|
|
||||||
config.module_linking_enabled = u.arbitrary()?;
|
config.module_linking_enabled = u.arbitrary()?;
|
||||||
config.memory64_enabled = u.arbitrary()?;
|
config.memory64_enabled = u.arbitrary()?;
|
||||||
// Don't generate modules that allocate more than 6GB
|
// 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();
|
let mut cfg = wasmtime_fuzzing::fuzz_default_config(Strategy::Auto).unwrap();
|
||||||
cfg.wasm_multi_memory(config.max_memories > 1);
|
cfg.wasm_multi_memory(config.max_memories > 1);
|
||||||
cfg.wasm_module_linking(config.module_linking_enabled);
|
cfg.wasm_module_linking(config.module_linking_enabled);
|
||||||
cfg.wasm_simd(config.simd_enabled);
|
|
||||||
cfg.wasm_memory64(config.memory64_enabled);
|
cfg.wasm_memory64(config.memory64_enabled);
|
||||||
|
|
||||||
oracles::instantiate_with_config(&module.to_bytes(), true, cfg, timeout);
|
oracles::instantiate_with_config(&module.to_bytes(), true, cfg, timeout);
|
||||||
|
|||||||
Reference in New Issue
Block a user