Skip to content

cc 1.0.87 produces tons of warnings on cargo check  #970

Closed
@ahlinc

Description

@ahlinc

After update to the latest cc 1.0.87 I see tons of warnings for every dependency crate that uses cc in its build.rs.
Warnings looks like:

warning: [email protected]: running: "cc" "--version"
warning: [email protected]: exit status: 0
warning: [email protected]: running: "cc" "--version"
warning: [email protected]: exit status: 0
warning: [email protected]: running: "cc" "--version"
warning: [email protected]: exit status: 0
warning: [email protected]: running: "cc" "--version"
warning: [email protected]: exit status: 0
warning: [email protected]: running: "ar" "s" "/home/user/some-code/target/debug/build/some-dependency-crate-b229f6f8a8f92087/out/libfoo.a"
warning: [email protected]: exit status: 0

It seems like that some debug logging was overlooked and now the cc crate reports all sub command exit statuses as cargo warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions