1 #![no_main]
2 
3 use libfuzzer_sys::arbitrary::Unstructured;
4 use libfuzzer_sys::fuzz_target;
5 
6 fuzz_target!(|data: &[u8]| {
7     // Errors in `wast_test` have to do with not enough input in `data` or the
8     // test case being thrown out, which we ignore here since it doesn't affect
9     // how we'd like to fuzz.
10     let mut u = Unstructured::new(data);
11     let _ = wasmtime_fuzzing::oracles::wast_test(&mut u);
12 });
13