fix CI QemuCmpLogHelper error. (#1429)

this was caused by using `cpu_arch = {mips,hexagon}` and `feature = [mips,hexagon]`
for the same reasons
This commit is contained in:
lenawanel 2023-08-20 11:58:50 +02:00 committed by GitHub
parent 0eceafe0c5
commit 173b14258b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(