A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Limit functions executed in `call_async` fuzzer (#13331)
Alex Crichtone4d52b2c510e
diff --git a/crates/fuzzing/src/oracles.rs b/crates/fuzzing/src/oracles.rsindex 18e8a33094..8528a6ad40 100644--- a/crates/fuzzing/src/oracles.rs+++ b/crates/fuzzing/src/oracles.rs@@ -1232,6 +1232,10 @@ pub fn call_async(wasm: &[u8], config: &generators::Config, mut poll_amts: &[u32let func = e.into_extern().into_func()?;Some((name, func))})+ // Each function gets up to 2 seconds, so don't let a lot of exports+ // which all infinitely loop lock up the fuzzer. Limit the number of+ // exports run.+ .take(10).collect::<Vec<_>>();for (name, func) in funcs {let ty = func.ty(&store);