Browse Source

Merge pull request #2793 from alexcrichton/spectest-fuzz-tweak

Disable module linking in spectest fuzzing
pull/2794/head
Nick Fitzgerald 4 years ago
committed by GitHub
parent
commit
db65fa80e0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      crates/fuzzing/src/oracles.rs

1
crates/fuzzing/src/oracles.rs

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

Loading…
Cancel
Save