Skip to content

Commit

Permalink
Disable memory64 in the no_traps fuzzer (bytecodealliance#1534)
Browse files Browse the repository at this point in the history
Wasmtime doesn't implement the table64 extension so disable it here to
get re-enabled once Wasmtime implements the full proposal again.
  • Loading branch information
alexcrichton authored May 6, 2024
1 parent cb87499 commit 1594eba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fuzz/src/no_traps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ pub fn run(u: &mut Unstructured<'_>) -> Result<()> {
config.gc_enabled = false;
config.max_memory32_pages = config.max_memory32_pages.min(100);
config.max_memory64_pages = config.max_memory64_pages.min(100);

// NB: should re-enable once wasmtime implements the table64 extension
// to the memory64 proposal.
config.memory64_enabled = false;
Ok(())
})?;
validate_module(config.clone(), &wasm_bytes);
Expand Down

0 comments on commit 1594eba

Please sign in to comment.