Files
wasmtime/fuzz/fuzz_targets/compile.rs
Nick Fitzgerald 84c4d8cc6c Remove always-on logging from fuzz targets (#878)
Now that the `cargo fuzz` tooling is better, it is easier to reproduce failures,
and we don't need to be super paranoid about logging here.
2020-01-30 23:46:50 +01:00

15 lines
296 B
Rust
Executable File

#![no_main]
use libfuzzer_sys::fuzz_target;
use wasmtime::Strategy;
use wasmtime_fuzzing::oracles;
fuzz_target!(|data: &[u8]| {
oracles::compile(data, Strategy::Cranelift);
});
#[cfg(feature = "lightbeam")]
fuzz_target!(|data: &[u8]| {
oracles::compile(data, Strategy::Lightbeam);
});