-
-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panic user-provided comparison function does not correctly implement a total order
in oxc_linter::rules::eslint::sort_keys::alphanumeric_sort
#5773
Comments
Crashed in cc @Goldziher |
user-provided comparison function does not correctly implement a total order
in rust std core/src/slice/sort/shared/smallsort.rs
user-provided comparison function does not correctly implement a total order
in oxc_linter::rules::eslint::sort_keys::alphanumeric_sort
Here is code that helps to find broken items
|
I guess is relate to rust 1.81.0?
|
Hi, i can look into this in a couple of days. I'm not sure whats the issue though, could anyone explain? |
Rust v1.81.0 changed the sort algorithm, which panics on incorrect sorter. https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html#new-sort-implementations |
File content(at the bottom should be attached raw, not formatted file - github removes some non-printable characters, so copying from here may not work):
command
App was compiled with nightly rust compiler to be able to use address sanitizer
On Ubuntu 24.04, the commands to compile were:
cause this
compressed.zip
The text was updated successfully, but these errors were encountered: