deps: Update Arbitrary to 1.0; libfuzzer-sys to 0.4.0; wasm-smith to 0.4.0

This commit is contained in:
Nick Fitzgerald
2021-02-25 14:35:47 -08:00
committed by Andrew Brown
parent ebbe626e79
commit 824ce7bf89
7 changed files with 20 additions and 41 deletions

View File

@@ -79,8 +79,8 @@ pub struct ApiCalls {
pub calls: Vec<ApiCall>,
}
impl Arbitrary for ApiCalls {
fn arbitrary(input: &mut Unstructured) -> arbitrary::Result<Self> {
impl<'a> Arbitrary<'a> for ApiCalls {
fn arbitrary(input: &mut Unstructured<'a>) -> arbitrary::Result<Self> {
crate::init_fuzzing();
let swarm = Swarm::arbitrary(input)?;