rust/compiler/rustc_serialize
Tyson Nottingham f15fae822e rustc_serialize: fix incorrect signed LEB128 decoding
The signed LEB128 decoding function used a hardcoded constant of 64
instead of the number of bits in the type of integer being decoded,
which resulted in incorrect results for some inputs. Fix this, make the
decoding more consistent with the unsigned version, and increase the
LEB128 encoding and decoding test coverage.
2021-01-11 12:13:26 -08:00
..
src rustc_serialize: fix incorrect signed LEB128 decoding 2021-01-11 12:13:26 -08:00
tests rustc_serialize: fix incorrect signed LEB128 decoding 2021-01-11 12:13:26 -08:00
Cargo.toml mv compiler to compiler/ 2020-08-30 18:45:07 +03:00