Skip to content

rustc sees multiple matching crates when ~ is symlinked #4871

Closed
@colemickens

Description

@colemickens

rustc mongrel2.rc

mongrel2.rc:7:0: 7:15 error: multiple matching crates for `zmq`
mongrel2.rc:7 extern mod zmq;
              ^~~~~~~~~~~~~~~
note: candidates:
note: path: /media/data/home/cole/.cargo/lib/libzmq-ff1aeb8260514f20-0.4.so
note: meta: name = "zmq"
note: meta: vers = "0.4"
note: meta: uuid = "54cc1bc9-02b8-447c-a227-75ebc923bc29"
note: path: /home/cole/.cargo/lib/libzmq-ff1aeb8260514f20-0.4.so
note: meta: name = "zmq"
note: meta: vers = "0.4"
note: meta: uuid = "54cc1bc9-02b8-447c-a227-75ebc923bc29"
error: aborting due to previous error
make: *** [all] Error 101

The two files are the same. Should rustc maybe ignore such an error when uuid and version match anyway. Or is there another way to resolve this without restructuring my filesystem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions