Skip to content

sort: unknown lint clippy::suspicious_open_options on OpenBSD #6290

@lcheylus

Description

@lcheylus

On OpenBSD stable (current version 7.5), Rust version = 1.76.0

During CI lint with cargo clippy, I have the error unknown lint: clippy::suspicious_open_options in src/uu/sort/src/sort.rs, line 254.

Indeed, the check for suspicious_open_options is supported only with Rust >= 1.77.0 => https://rust-lang.github.io/rust-clippy/master/index.html#/suspicious_open_options

On OpenBSD 7.5 with Rust 1.76, this check must be disabled in src/uu/sort/src/sort.rs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions