Skip to content

Commit

Permalink
aaa
Browse files Browse the repository at this point in the history
  • Loading branch information
rmalmain committed Jun 24, 2024
1 parent c4d9510 commit c2a074c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libafl/src/fuzzer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
use alloc::string::ToString;
use core::{fmt::Debug, marker::PhantomData, time::Duration};
use std::path::PathBuf;
#[cfg(all(feature = "std", feature = "dump_state"))]
use std::{
fs::{self, File},
hash::{BuildHasher, Hasher},
io::Write,
path::PathBuf,
};

#[cfg(all(feature = "std", feature = "dump_state"))]
Expand Down
2 changes: 1 addition & 1 deletion libafl/src/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ pub trait MaybeCanDumpState {

/// Trait for getting the optional dump directory for the state
#[cfg(all(feature = "std", not(feature = "dump_state")))]
pub trait MaybeHasDumpStateDir {}
pub trait MaybeCanDumpState {}

#[cfg(all(feature = "std", not(feature = "dump_state")))]
impl<T> MaybeCanDumpState for T {}
Expand Down

0 comments on commit c2a074c

Please sign in to comment.