(no title)
jcmoyer | 2 years ago
The documentation addresses this case specifically: https://doc.rust-lang.org/stable/std/os/unix/io/index.html#p...
"Rust’s safety guarantees only cover what the program itself can do, and not what entities outside the program can do to it. /proc/self/mem is considered to be such an external entity..."
fweimer|2 years ago
steveklabnik|2 years ago
That doesn’t mean that it never happens, but it is a very rare occurrence, not something that Rust programmers deal with regularly.