Use to/from_bits instead of cast pointers to integers
Closed this issue · 1 comments
Thomasdezeeuw commented
Tracking issue: rust-lang/rust#91126.
Thomasdezeeuw commented
This feature is already deprecated and replace by std::ptr::from_exposed_addr
, see rust-lang/rust#95228. Going to wait until that is a bit more stable before reconsidering this.