Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
spacenick88
· 6y ago · 0 comments
Interestingly it seems rust only does full overflow checking in debug builds:
https://huonw.github.io/blog/2016/04/myths-and-legends-about...
Comments
[–]
masklinn
6y ago
By default yes, but you can enable overflow checking in release mode (it’s a conf / compiler flag), and it has standard functions for checked, wrapping, and saturating ops.