Remove unecessary HasTargetBytes constraint (#3117)

This commit is contained in:
bernhl 2025-04-01 20:39:01 +02:00 committed by GitHub
parent 9dff7a438d
commit fb0848e174
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,7 @@ use crate::observers::{
use crate::{ use crate::{
Error, Error,
executors::{Executor, ExitKind, HasObservers}, executors::{Executor, ExitKind, HasObservers},
inputs::{BytesInput, HasTargetBytes, Input, NopTargetBytesConverter, TargetBytesConverter}, inputs::{BytesInput, Input, NopTargetBytesConverter, TargetBytesConverter},
mutators::Tokens, mutators::Tokens,
observers::{MapObserver, Observer, ObserversTuple}, observers::{MapObserver, Observer, ObserversTuple},
state::HasExecutions, state::HasExecutions,
@ -876,7 +876,7 @@ where
) -> Result<ForkserverExecutor<I, (A, OT), S, SHM, TC>, Error> ) -> Result<ForkserverExecutor<I, (A, OT), S, SHM, TC>, Error>
where where
A: Observer<I, S> + AsMut<MO>, A: Observer<I, S> + AsMut<MO>,
I: Input + HasTargetBytes, I: Input,
MO: MapObserver + Truncate, // TODO maybe enforce Entry = u8 for the cov map MO: MapObserver + Truncate, // TODO maybe enforce Entry = u8 for the cov map
OT: ObserversTuple<I, S> + Prepend<MO>, OT: ObserversTuple<I, S> + Prepend<MO>,
{ {