devel/py-spy: fix build on ARM / POWER
error[E0308]: mismatched types
--> /wrkdirs/usr/ports/devel/py-spy/work/py_spy-0.4.1/cargo-crates/proc-maps-0.4.0/src/freebsd_maps/ptrace.rs:188:52 |
188 | let result = unsafe { ptrace(PT_VM_ENTRY, pid, &vm_entry as *const _ as *mut i8, 0) };
| ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*mut u8`, found `*mut i8`
| |
| arguments to this function are incorrect
|
= note: expected raw pointer `*mut u8`
found raw pointer `*mut i8`note: function defined here
--> /wrkdirs/usr/ports/devel/py-spy/work/py_spy-0.4.1/cargo-crates/proc-maps-0.4.0/src/freebsd_maps/ptrace.rs:150:8 |
150 | fn ptrace(request: c_int, pid: Pid, vm_entry: caddr_t, data: c_int) -> c_int;
| ^^^^^^ --------
For more information about this error, try rustc --explain E0308.
error: could not compile proc-maps (lib) due to 1 previous error