Skip to content

rustc mistakes non-rust crates for candidates #13010

Closed
@auroranockert

Description

@auroranockert

I'm trying to build an application that depends on a crate called cairo.

rustc cairo.rs/examples/example1.rs -L ~/.homebrew/lib -L .

But instead of it finding the right crate, I get two unrelated libraries that it cannot disambiguate (since they are from the 'real' cairo, not my wrapper) https://gist.github.com/jensnockert/221ef976bcae3a1f13ff

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