uutils / coreutils

Cross-platform Rust rewrite of the GNU coreutils
https://uutils.github.io/
MIT License
17.82k stars 1.28k forks source link

sort: enable clippy::suspicious_open_options on OpenBSD #6851

Closed lcheylus closed 1 week ago

lcheylus commented 1 week ago

On OpenBSD 7.6 (release October 2024), Rust version = 1.81.0 => we can now enable clippy::suspicious_open_options for lint with clippy.

Revert commit ee4392e30cfdcd4c464b0faa0af1ed79d8c0a752


Tests OK with clippy (Rust 1.81 on OpenBSD 7.6) for sort:

$ cargo clippy --all-targets -puu_sort -- -W clippy::manual_string_new -D warnings
(...)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s
github-actions[bot] commented 1 week ago

GNU testsuite comparison:

Skip an intermittent issue tests/rm/rm1 (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)