about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-02-20 00:10:08 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-03-03 12:10:57 +0100
commit6189e99c8605578aae841be6fba9e27bfbad97fc (patch)
tree3c4019f4987c0825d751474029637a9b670f9dbf /src/rustllvm/ExecutionEngineWrapper.cpp
parent7c8edabac8030889f4a885b944c86190772953fd (diff)
downloadrust-6189e99c8605578aae841be6fba9e27bfbad97fc.tar.gz
rust-6189e99c8605578aae841be6fba9e27bfbad97fc.zip
Accommodate arith-overflow in `rand` and `std::rand`.
Regarding the `rand` changes: It is unfortunate that Wrapping(T) does
not support the `+=` operator.  We may want to try to fix that before
1.0 to make porting code like this palatable.

Regarding `std::rand`, just arith-overflow in first example from
`std::rand::random()` doc.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions