3 ms·
is any rust code some way immune to unsafe blocks?
by ginsider_oaks 6y ago
is any rust code some way immune to unsafe blocks?
- wizzwizz4 6y agoThat's a little different. If you're running a C linter that statically guarantees safety, then it's comparable; otherwise, you're comparing mostly Safe Rust (with some Unsafe Rust in it) to Unsafe C. Safe Rust is automatically immune to lots of these issues. Unsafe Rust isn't, but all of C is unsafe (unless you're using a safety-enforcing linter that only gives you access to a subset of the language).