Hacker News new | ask | show | jobs
by tveita 3138 days ago
By default, but it is possible to enable integer overflow for release builds with "-C overflow-checks".
2 comments

And that comes with a performance penalty. Maybe it won't, in a future version of Rust, but it does for now.
But it's about checking it compile time because of overhead not at runtime.