Closed
Description
A bunch of my nightly builds are now generating the error:
error: the current crate is indistinguishable from one of its dependencies: it has the same crate-name libc
and was compiled with the same -C metadata
arguments. This will result in symbol conflicts between the two. [E0519]
This is likely due to the revamp of symbol names, but it's also unfortunately a regression on nightly. I think what's happening here is that Cargo isn't passing -C metadata
to rustdoc (because it can't) and then the crates.io libc crate is conflicting with the in-tree libc crate.