Skip to content

Panic when compiling redis-rs with clippy #1517

Closed
@Eijebong

Description

@Eijebong

redis-rs uses the "RUSTC" environment variable to determine the current rustc version by calling $RUSTC --version.
Since clippy sets this to "/home/user/.cargo/bin/cargo-clippy", the version is not the expected format at all and it just panics because there is no error handling in the build.rs

@mitsuhiko @badboy

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions