Re:Let rand = main as usize
by haileys on Thursday June 06, 2024 @04:27PM
(#40601981)
Exactly. So you must use Rust's encapsulation features like modules and visibility to ensure that any particular piece of unsafe code _cannot_ receive a pointer that can't be proven to be valid.
[ Parent
| on HN ]
There are no comments on this comment yet.