Move cfg to avoid unused import error (#2526)

This commit is contained in:
Marco C. 2024-09-16 15:19:01 +02:00 committed by GitHub
parent a168d76b14
commit 37f2d2dd0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -366,6 +366,7 @@ pub mod child_signal_handlers {
}
#[cfg(test)]
#[cfg(all(feature = "std", feature = "fork", unix))]
mod tests {
use libafl_bolts::tuples::tuple_list;
use serial_test::serial;
@ -378,7 +379,6 @@ mod tests {
#[test]
#[serial]
#[cfg_attr(miri, ignore)]
#[cfg(all(feature = "std", feature = "fork", unix))]
fn test_inprocessfork_exec() {
use core::marker::PhantomData;