Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

Reduce the type depth in component fuzzing (#14537)

Alex Crichton1a431ce21ff6
diff --git a/crates/test-util/src/component_fuzz.rs b/crates/test-util/src/component_fuzz.rs
index df1334b131..d41b6f0a44 100644
--- a/crates/test-util/src/component_fuzz.rs
+++ b/crates/test-util/src/component_fuzz.rs
@@ -28,7 +28,7 @@ pub const IMPORT_FUNCTION: &str = "echo-import";
pub const EXPORT_FUNCTION: &str = "echo-export";
/// Wasmtime allows up to 100 type depth so limit this to just under that.
-pub const MAX_TYPE_DEPTH: u32 = 99;
+pub const MAX_TYPE_DEPTH: u32 = 90;
macro_rules! uwriteln {
($($arg:tt)*) => {