diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2017-11-20 01:54:43 -0800 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2017-11-20 01:54:43 -0800 |
| commit | 42208c122757fca706bc5224f3a0c7200fae32e9 (patch) | |
| tree | 83e34bff2c2bfdecea7387d3354a9dc7f3a93b8d /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 6a5a086fd61a87d36cfa3652b279c543601860da (diff) | |
| download | rust-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
