Hacker News new | ask | show | jobs
by _flux 21 days ago
Segfault. Then you get to use gdb/valgrind like anyone else (although you also have Miri).

The strategy when integrating unsafe segments to your Rust codebase is that you provide a safe interface for them, then very carefully review the code, and also use tools such as Miri to test them. Ideally your business side would not have any unsafe code in it.