Since this is an issue when building with the beta channel already it will forseeably become a bug when trying to build this crate with stable. Basically, there are dozens of those:
error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
--> src/c_interface.rs:192:31
|
192 | unsafe { &mut *(self._parent as *const P as *mut P) },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[deny(cast_ref_to_mut)]` on by default
Since this is an issue when building with the
betachannel already it will forseeably become a bug when trying to build this crate withstable. Basically, there are dozens of those: