Fix CI (#2312)
This commit is contained in:
parent
18a25d3b3d
commit
c3930b39fc
@ -30,7 +30,8 @@ Welcome to `LibAFL`
|
|||||||
clippy::ptr_cast_constness,
|
clippy::ptr_cast_constness,
|
||||||
clippy::unsafe_derive_deserialize,
|
clippy::unsafe_derive_deserialize,
|
||||||
clippy::similar_names,
|
clippy::similar_names,
|
||||||
clippy::too_many_lines
|
clippy::too_many_lines,
|
||||||
|
clippy::into_iter_without_iter, // broken
|
||||||
)]
|
)]
|
||||||
#![cfg_attr(not(test), warn(
|
#![cfg_attr(not(test), warn(
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
@ -232,10 +232,7 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Cycles the strategy of the scheduler; tries to mimic AFL++'s cycling formula
|
/// Cycles the strategy of the scheduler; tries to mimic AFL++'s cycling formula
|
||||||
fn cycle_schedule(
|
fn cycle_schedule(&mut self, metadata: &mut SchedulerMetadata) -> Result<PowerSchedule, Error> {
|
||||||
&mut self,
|
|
||||||
metadata: &mut SchedulerMetadata,
|
|
||||||
) -> Result<PowerSchedule, Error> {
|
|
||||||
let next_strat = match metadata.strat().ok_or(Error::illegal_argument(
|
let next_strat = match metadata.strat().ok_or(Error::illegal_argument(
|
||||||
"No strategy specified when initializing scheduler; cannot cycle!",
|
"No strategy specified when initializing scheduler; cannot cycle!",
|
||||||
))? {
|
))? {
|
||||||
|
@ -16,7 +16,8 @@
|
|||||||
clippy::missing_panics_doc,
|
clippy::missing_panics_doc,
|
||||||
clippy::missing_docs_in_private_items,
|
clippy::missing_docs_in_private_items,
|
||||||
clippy::module_name_repetitions,
|
clippy::module_name_repetitions,
|
||||||
clippy::pub_underscore_fields
|
clippy::pub_underscore_fields,
|
||||||
|
clippy::into_iter_without_iter, // broken
|
||||||
)]
|
)]
|
||||||
#![cfg_attr(not(test), warn(
|
#![cfg_attr(not(test), warn(
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user