|
|
|
|
|
by tspiteri
3043 days ago
|
|
My mental model of Rust's current overflow behaviour is that "integer overflow is wrapping overflow, but during development it also panics to push me to use explicit wrapping in the code." I'm failing to see how that can qualify as something that "pass[es] the tests but fail[s] in production". |
|
Ideally you would run your tests in both debug and release modes, though. :)