Bump alloy to 0.8.0 (#13268)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
morito
2024-12-11 05:06:21 +09:00
committed by GitHub
parent 62e2cbfe86
commit 73f1583455
14 changed files with 192 additions and 216 deletions

View File

@ -67,7 +67,7 @@ pub fn maybe_generate_tests(
use rand::RngCore;
// get random instance of type
let mut raw = [0u8; 1024];
let mut raw = vec![0u8; 1024];
rand::thread_rng().fill_bytes(&mut raw);
let mut unstructured = arbitrary::Unstructured::new(&raw[..]);
let val: Result<super::#type_ident, _> = arbitrary::Arbitrary::arbitrary(&mut unstructured);