Update max tuple size in component api fuzzing (#4675)

Fixes a build failure on #4673 where tuples of length 16 don't implement
`Debug` from the standard library.
This commit is contained in:
Alex Crichton
2022-08-11 15:24:48 -05:00
committed by GitHub
parent 380db48ce6
commit 755cd4311e

View File

@@ -123,8 +123,9 @@ pub enum Type {
Record(VecInRange<Type, 0, 200>), Record(VecInRange<Type, 0, 200>),
// Tuples can only have up to 16 type parameters in wasmtime right now for // Tuples can only have up to 16 type parameters in wasmtime right now for
// the static API. // the static API, but the standard library only supports `Debug` up to 11
Tuple(VecInRange<Type, 0, 16>), // elements, so compromise at an even 10.
Tuple(VecInRange<Type, 0, 10>),
// Like records, allow a good number of variants, but variants require at // Like records, allow a good number of variants, but variants require at
// least one case. // least one case.