Open wcampbell0x2a opened 3 years ago
As a short term fix you can wrap both variables in a tuple
fuzz_target!(|(rgb, other): (Rgb, Other)| {})
Unexpectely the above syntax also doesn't work.
I used this to work around the issue:
fuzz_target!(|data: (Rgb, Other)| {
let (rbg, other) = data;
})
A possible upgrade would be the ability for creating multiple variables that are to be fuzzed from the same data in the
fuzz_target
macro.Something like this?
That, or have another macro named
fuzz_targets