You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't want to check the entire codebase for potential overflow, we want a targeted check. The overflow lint is apparently ill suited for the task because we cannot tell it that e.g. Fixed doesn't overflow.
Due to Chrome enabling overflow checks (https://doc.rust-lang.org/book/ch03-02-data-types.html#integer-overflow) we end up fighting overflow issues, most recently #1286.
We don't want to check the entire codebase for potential overflow, we want a targeted check. The overflow lint is apparently ill suited for the task because we cannot tell it that e.g. Fixed doesn't overflow.
So ... what can we do?
One idea might be to do a targeted scan of MIR? - https://blog.rust-lang.org/2016/04/19/MIR.html
Other ideas?
The text was updated successfully, but these errors were encountered: