3

A dependency on `path = "."` should have a good error message · Issue...

 2 years ago
source link: https://github.com/rust-lang/cargo/issues/9518
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Copy link

Contributor

Eh2406 commented on May 27

edited by rustbot

In a package foo a [dev-dependencies] foo = { path = "." } should be an error.
As there is no use case for it, and it does not do what most people expect.
There are not many people that will try this, and there are few configurations that don't error already. So I don't think we need to get too fancy with the comparison. A check for a path "." would be a big step foreword.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK