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.
This commit is contained in:
6
fuzz/fuzz_targets/compile.rs
Normal file → Executable file
6
fuzz/fuzz_targets/compile.rs
Normal file → Executable file
@@ -2,13 +2,13 @@
|
||||
|
||||
use libfuzzer_sys::fuzz_target;
|
||||
use wasmtime::Strategy;
|
||||
use wasmtime_fuzzing::{oracles, with_log_wasm_test_case};
|
||||
use wasmtime_fuzzing::oracles;
|
||||
|
||||
fuzz_target!(|data: &[u8]| {
|
||||
with_log_wasm_test_case!(data, |data| oracles::compile(data, Strategy::Cranelift));
|
||||
oracles::compile(data, Strategy::Cranelift);
|
||||
});
|
||||
|
||||
#[cfg(feature = "lightbeam")]
|
||||
fuzz_target!(|data: &[u8]| {
|
||||
with_log_wasm_test_case!(data, |data| oracles::compile(data, Strategy::Lightbeam));
|
||||
oracles::compile(data, Strategy::Lightbeam);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user