-
Notifications
You must be signed in to change notification settings - Fork 13.4k
rand: Use wrapping operations everywhere #23105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
3c718a2
to
5180436
Compare
A user hit this in IRC ( |
cc @pnkfelix |
@bors r+ |
There was a buildbot failure recently of an arithmetic overflow in the isaac module of the rand crate, so I've imported the isaac implementation from out-of-tree which makes somewhat more liberal usage of the wrapping primitives. Hopefull this quelches any future overflow!
💔 Test failed - auto-linux-64-nopt-t |
There was a buildbot failure recently of an arithmetic overflow in the isaac module of the rand crate, so I've imported the isaac implementation from out-of-tree which makes somewhat more liberal usage of the wrapping primitives. Hopefull this quelches any future overflow!
5180436
to
ee7a72c
Compare
🙀 |
There was a buildbot failure recently of an arithmetic overflow in the isaac module of the rand crate, so I've imported the isaac implementation from out-of-tree which makes somewhat more liberal usage of the wrapping primitives. Hopefull this quelches any future overflow!
💔 Test failed - auto-win-32-nopt-t |
@bors: retry |
There was a buildbot failure recently of an arithmetic overflow in the isaac module of the rand crate, so I've imported the isaac implementation from out-of-tree which makes somewhat more liberal usage of the wrapping primitives. Hopefull this quelches any future overflow!
⚡ Previous build results for auto-linux-32-nopt-t, auto-linux-32-opt, auto-linux-64-nopt-t, auto-linux-64-opt, auto-linux-64-x-android-t, auto-mac-32-opt, auto-mac-64-nopt-t, auto-mac-64-opt, auto-win-32-opt, auto-win-64-nopt-t, auto-win-64-opt are reusable. Rebuilding only auto-win-32-nopt-t... |
There was a buildbot failure recently of an arithmetic overflow in the isaac
module of the rand crate, so I've imported the isaac implementation from
out-of-tree which makes somewhat more liberal usage of the wrapping primitives.
Hopefull this quelches any future overflow!