From a0fe40f3b73f11afc7ed2d30be0947575b29b509 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 6 Oct 2026 16:49:14 -0700 Subject: [PATCH] Restore `*.wast` testing on Pulley My refactoring in #14245 accidentally stopped running the test suite on Pulley-based platforms, such as `i686-unknown-linux-gnu`, and this commit restores it. --- tests/wast.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/wast.rs b/tests/wast.rs index 474d985e778f..669dbe969dc1 100644 --- a/tests/wast.rs +++ b/tests/wast.rs @@ -24,8 +24,13 @@ fn main() { .map(|s| s.split(" ").map(|s| s.to_string()).collect::>()); // List of supported compilers, filtered by what our current host supports. + // If the current host doesn't support anything native, then test pulley + // instead. let mut compilers = vec![Compiler::CraneliftNative, Compiler::Winch]; compilers.retain(|c| c.supports_host()); + if compilers.is_empty() { + compilers.push(Compiler::CraneliftPulley); + } // Only test one compiler in ASAN since we're mostly interested in testing // runtime code, not compiler-generated code.