Add support for disabling overflow checks #1213
Replies: 2 comments 7 replies
-
Thank you @WeetHet for the input. I've moved this to a discussion, as that's what we use for feature requests. We'd need to be careful in adding a feature like the one you're describing, to not run into potential unsoundness, but I take your point of wanting to verify other properties. I realize this is probably not possible at the moment, as the relevant functions are lacking verus specifications, but would you be open to using the |
Beta Was this translation helpful? Give feedback.
-
This at the moment does not seem to have a concrete feature request, so I'll close. Feel free to reopen if this is still relevant. |
Beta Was this translation helpful? Give feedback.
-
It's basically impossible to write code that uses any arithmetics and not run into needing to insert tons of invariants and guards to ensure it does not overflow. In reality, my code works with reasonable numbers, so it can't overflow, and I care more about other qualities of it. So a switch to disable overflow checks would be nice to have
Beta Was this translation helpful? Give feedback.
All reactions