Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit de4b75c

Browse files
committed
fix oracles::tests::wast_smoke_test component-model-async failures
Signed-off-by: Joel Dice <joel.dice@fermyon.com>
1 parent 056d32b commit de4b75c

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

crates/fuzzing/src/oracles.rs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,15 @@ pub fn wast_test(u: &mut arbitrary::Unstructured<'_>) -> arbitrary::Result<()> {
702702

703703
let mut fuzz_config: generators::Config = u.arbitrary()?;
704704
let test: generators::WastTest = u.arbitrary()?;
705-
if u.arbitrary()? {
705+
// FIXME: Find a more elegant way to identify tests which require async.
706+
if test
707+
.test
708+
.path
709+
.to_str()
710+
.map(|s| s.contains("component-model-async"))
711+
.unwrap_or(false)
712+
|| u.arbitrary()?
713+
{
706714
fuzz_config.enable_async(u)?;
707715
}
708716

0 commit comments

Comments
 (0)