Transmuting a const ptr to a mutable ptr has become a hard compile error since rustc 1.72 https://github.com/rust-lang/rust/pull/111567 We need to consider refactoring and removing all the `cast_ref_to_mut` related code before upgrading to 1.72.
Transmuting a const ptr to a mutable ptr has become a hard compile error since rustc 1.72 rust-lang/rust#111567
We need to consider refactoring and removing all the
cast_ref_to_mutrelated code before upgrading to 1.72.