exclude QemuSystemStateObserver when not needed

This commit is contained in:
Alwin Berger 2024-05-21 13:03:55 +02:00
parent 7d8717ff15
commit 3ed8ccd0c7

View File

@ -538,6 +538,7 @@ pub fn fuzz() {
// Create an observation channel to keep track of the execution time
let clock_time_observer = QemuClockObserver::new("clocktime", if cli.dump_times {cli.dump_name.clone().map(|x| x.with_extension("time"))} else {None} );
#[cfg(feature = "systemstate")]
let systemstate_observer = QemuSystemStateObserver::new();
// Feedback to rate the interestingness of an input