about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2017-11-20 01:54:43 -0800
committerScott McMurray <scottmcm@users.noreply.github.com>2017-11-20 01:54:43 -0800
commit42208c122757fca706bc5224f3a0c7200fae32e9 (patch)
tree83e34bff2c2bfdecea7387d3354a9dc7f3a93b8d /src/libstd/sys/unix/stack_overflow.rs
parent6a5a086fd61a87d36cfa3652b279c543601860da (diff)
downloadrust-42208c122757fca706bc5224f3a0c7200fae32e9.tar.gz
rust-42208c122757fca706bc5224f3a0c7200fae32e9.zip
Handle shifts properly
* The overflow-checking shift items need to take a full 128-bit type, since they need to be able to detect idiocy like `1i128 << (1u128 << 127)`
* The unchecked ones just take u32, like the `*_sh?` methods in core
* Because shift-by-anything is allowed, cast into a new local for every shift
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions