Closed notpeelz closed 1 year ago
The removed line would expand to something like this:
unsafe impl<Ret: 'static, A: 'static> HookableWith<extern "system" fn(A) -> Ret> for unsafe extern "system" fn(A) -> Ret { }
This lets GenericDetour work with unsafe fns on Rust stable (currently 1.69.0). I'm not sure if this change breaks anything.
GenericDetour
The removed line would expand to something like this:
This lets
GenericDetour
work with unsafe fns on Rust stable (currently 1.69.0). I'm not sure if this change breaks anything.