The weird thing is that this test apparently does not cause an overflow on 32-bit architectures, but does produce an overflow on 64-bit architectures ...
---- issue_848_overflow_incomplete_bits_to_bytes stdout ----
thread 'issue_848_overflow_incomplete_bits_to_bytes' panicked at 'assertion failed: `(left == right)`
left: `Ok(([], []))`,
right: `Err(Failure(Error { input: [], code: TooLarge }))`', tests/issues.rs:294:3
- Rust version : 1.49.0
- nom version : 6.1.0
- nom compilation features used: default
PS: Tests were run in release mode, which might affect overflow behaviour`.