about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDavid Creswick <dcrewi@gyrae.net>2013-09-09 11:15:03 -0500
committerDavid Creswick <dcrewi@gyrae.net>2013-09-09 11:15:03 -0500
commit9bee3d7e5b1ca7269d008c8df39c3683345bdb3d (patch)
tree31a1a1f3d649c7229424da29945512713637189e /src/rustllvm/RustWrapper.cpp
parentdfb04d9953f640301c80cbe910b91ca9c92af55a (diff)
downloadrust-9bee3d7e5b1ca7269d008c8df39c3683345bdb3d.tar.gz
rust-9bee3d7e5b1ca7269d008c8df39c3683345bdb3d.zip
Convert between BigInts, BigUints, ints, and uints
Previously, conversion to ints, uints, and BigUints clamped the value
within the range of that datatype. With this commit, conversion
overflows fail the task. To handle overflows gracefully, use the new
to_*_opt() methods.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions