Skip to content

Persistent warning: link against the following native artifacts #1260

Closed
rust-lang/rust
#21849
@kornelski

Description

@kornelski

When building a static library Cargo prints:

warning: link against the following native artifacts when linking against this static library

The problem is when I invoke Cargo from Xcode, Xcode detects the "warning: " and displays it as if it was a real issue requiring attention.

As far as I can tell it's not possible to "fix" anything to make that warning disappear (Cargo won't stop displaying it, because it can't know if I link everything in the correct order), so it's noise.

Could you downgrade that message to a note?

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