This is the tracking issue for the const_raw_ptr_to_usize_cast feature.
Activating the feature allows casting *const T and *mut T to usize.
I did not open an RFC for this because I believe we want to experiment with the feature (and we can already emulate it with union transmute hacks).
This is the tracking issue for the
const_raw_ptr_to_usize_castfeature.Activating the feature allows casting
*const Tand*mut Ttousize.I did not open an RFC for this because I believe we want to experiment with the feature (and we can already emulate it with union transmute hacks).