Fix missing cfg_attr in libafl_qemu

This commit is contained in:
Andrea Fioraldi 2021-09-29 17:33:49 +02:00
parent 9004add503
commit a1bf21465f

View File

@ -39,7 +39,7 @@ impl IntoPy<PyObject> for MmapPerms {
#[repr(C)] #[repr(C)]
#[cfg_attr(feature = "python", pyclass)] #[cfg_attr(feature = "python", pyclass)]
#[derive(FromPyObject)] #[cfg_attr(feature = "python", derive(FromPyObject))]
pub struct SyscallHookResult { pub struct SyscallHookResult {
pub retval: u64, pub retval: u64,
pub skip_syscall: bool, pub skip_syscall: bool,