A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Disable `SinglePass` regalloc when fuzzing (#11546)
Alex Crichtonbe5661c06976
diff --git a/crates/fuzzing/src/generators/config.rs b/crates/fuzzing/src/generators/config.rsindex cf780a8b67..92dbf82a06 100644--- a/crates/fuzzing/src/generators/config.rs+++ b/crates/fuzzing/src/generators/config.rs@@ -833,14 +833,18 @@ impl OptLevel {#[derive(Arbitrary, Clone, Debug, PartialEq, Eq, Hash)]enum RegallocAlgorithm {Backtracking,- SinglePass,+ // FIXME(#11544 and #11545): rename back to `SinglePass` and handle below+ // when those issues are fixed+ TemporarilyDisabledSinglePass,}impl RegallocAlgorithm {fn to_wasmtime(&self) -> wasmtime::RegallocAlgorithm {match self {RegallocAlgorithm::Backtracking => wasmtime::RegallocAlgorithm::Backtracking,- RegallocAlgorithm::SinglePass => wasmtime::RegallocAlgorithm::SinglePass,+ RegallocAlgorithm::TemporarilyDisabledSinglePass => {+ wasmtime::RegallocAlgorithm::Backtracking+ }}}}