Re:Pointers Are Complicated II, or: We need better language ...
by Dylan16807 on Monday December 14, 2020 @06:04PM
(#25424598)
How could transmutation from a reference to a usize not be safe? Do you mean "and back"?
More broadly: Rust is very sensitive to LLVM bugs that inadvertently generate UB. The longstanding issues with `noalias` optimizations is the prime example of this: https://stackoverflow.com/a/57259339/7501301