Y
Hacker News
new
|
ask
|
show
|
jobs
by
steveklabnik
3 days ago
If you're talking about compiler flags,
rustc -C overflow-checks=yes
or in your project config,
[profile.release] overflow-checks = true
gives you consistent panics on overflow.