Re:Maps and Memory Leaks in Go
by bilkow on Tuesday November 08, 2022 @10:49AM
(#33520282)
For Rust specifically, the compiler does force safe programs to have no data races. That's actually what the ownership system, Send and Sync are about. If you manage to corrupt memory or have undefined behavior in safe Rust, that should be a compiler or library bug.
See https://doc.rust-lang.org/nomicon/races.html