Skip to content

Commit c3930b3

Browse files
authored
Fix CI (#2312)
1 parent 18a25d3 commit c3930b3

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

libafl/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ Welcome to `LibAFL`
3030
clippy::ptr_cast_constness,
3131
clippy::unsafe_derive_deserialize,
3232
clippy::similar_names,
33-
clippy::too_many_lines
33+
clippy::too_many_lines,
34+
clippy::into_iter_without_iter, // broken
3435
)]
3536
#![cfg_attr(not(test), warn(
3637
missing_debug_implementations,

libafl/src/schedulers/weighted.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,7 @@ where
232232
}
233233

234234
/// Cycles the strategy of the scheduler; tries to mimic AFL++'s cycling formula
235-
fn cycle_schedule(
236-
&mut self,
237-
metadata: &mut SchedulerMetadata,
238-
) -> Result<PowerSchedule, Error> {
235+
fn cycle_schedule(&mut self, metadata: &mut SchedulerMetadata) -> Result<PowerSchedule, Error> {
239236
let next_strat = match metadata.strat().ok_or(Error::illegal_argument(
240237
"No strategy specified when initializing scheduler; cannot cycle!",
241238
))? {

libafl_targets/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
clippy::missing_panics_doc,
1717
clippy::missing_docs_in_private_items,
1818
clippy::module_name_repetitions,
19-
clippy::pub_underscore_fields
19+
clippy::pub_underscore_fields,
20+
clippy::into_iter_without_iter, // broken
2021
)]
2122
#![cfg_attr(not(test), warn(
2223
missing_debug_implementations,

0 commit comments

Comments
 (0)