2 ms·
The problem is that's untenable; any nontrivial program will have unsafe somewhere I'm up to 47,000 lines of Rust with no "unsafe". The main program starts wit
by Animats 3y ago
The problem is that's untenable; any nontrivial program will have unsafe somewhere
I'm up to 47,000 lines of Rust with no "unsafe". The main program starts with
#![forbid(unsafe_code)]
and that applies to the entire program, although not external crates.
If you're not using foreign functions, you don't need "unsafe".
Some published crates I use do have "unsafe", more than they should. This is annoying.