1#![no_main] 2 3use libfuzzer_sys::arbitrary::Unstructured; 4use libfuzzer_sys::fuzz_target; 5 6fuzz_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 14