From 173b14258b89ee3b205f8eb746ba3af72d9b5ca5 Mon Sep 17 00:00:00 2001 From: lenawanel <115283664+lenawanel@users.noreply.github.com> Date: Sun, 20 Aug 2023 11:58:50 +0200 Subject: [PATCH] fix CI QemuCmpLogHelper error. (#1429) this was caused by using `cpu_arch = {mips,hexagon}` and `feature = [mips,hexagon]` for the same reasons --- libafl_sugar/src/qemu.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libafl_sugar/src/qemu.rs b/libafl_sugar/src/qemu.rs index 36b813e743..93f28a2340 100644 --- a/libafl_sugar/src/qemu.rs +++ b/libafl_sugar/src/qemu.rs @@ -215,11 +215,13 @@ where if self.use_cmplog.unwrap_or(false) { let mut hooks = QemuHooks::new( emulator, + #[cfg(not(any(feature = "mips", feature = "hexagon")))] tuple_list!( QemuEdgeCoverageHelper::default(), - #[cfg(not(any(cpu_target = "mips", cpu_target = "hexagon")))] QemuCmpLogHelper::default(), ), + #[cfg(any(feature = "mips", feature = "hexagon"))] + tuple_list!(QemuEdgeCoverageHelper::default()), ); let executor = QemuExecutor::new(