Files
nushell/crates/nu-command/src/conversions
Andrej Kolčin 2ce5de58e6 Fix an integer overflow bug in into duration (#15031)
Fixes #15028

# Description

The current implementation of `into duration` uses bare pointer
arithmetic instead of wrapping one. This works fine on 64-bit platforms,
since the pointers don't take up all of the 64 bits, but fails on 32 bit
ones.


# Tests + Formatting

All of the affected tests pass on my end, but it's `x86_84`, so they
were also passing before that.
2025-02-06 21:32:42 +01:00
..
2024-11-29 21:24:17 +00:00
2024-08-28 23:01:26 +02:00