[BUG] Regression lexical-write-float 1.0.4
: jeaiii.rs:304:29: range end index 20 out of range for slice of length 19
#191
Labels
Milestone
Description
Our tests started failing after an upgrade to https://crates.io/crates/lexical-write-float/1.0.4
They work with https://crates.io/crates/lexical-write-float/1.0.3 (we reverted to 1.0.3 and so we are not blocked)
We are seeing a panic happen in code changed in 6b518e5
lexical-write-integer
upgrade apache/datafusion#13686 for detailsPrerequisites
Here are a few things you should provide to help me understand the issue:
rustc 1.83.0 (90b35a623 2024-11-26)
1.0.4
)["write-integers", "write-floats", "parse-integers", "parse-floats"
Test case
Example test case. I expect this to work without panic and print
i64::MIN
to the bufferRun the program above with the latest lexical core
It panics:
Details
After force downgrading
lexical-write-integer
from latest (1.0.4
to the confusingly non aligned1.0.3
)The test passes
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: