Add support for disabling overflow checks #1213
WeetHet
started this conversation in
Feature requests
Replies: 1 comment 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.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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