rust 13 July 2020 Making Unsafe Rust Safe One of Rust's greatest strengths is its guarantee that if it compiles, it's free of data races and thread-safety violations. To use unsafe code and maintain that guarantee requires you to write safe wrappers that perfectly define the contracts under which the unsafe code can be used.