> On windows DLLs don't have a lib prefix, but rlibs still do.

That seems like a bug :)

> I think that at least gcc uses the same name as the source file as far as I know.

It does, but gcc does not have any kind of informal or formal naming scheme for input files, so there's not a lot of `lib.c` files laying around. The issue here is that we use the same input file to lots of different kinds of outputs. rustpkg expects lib.rs and test.rs, but many people just compile both from lib.rs or name.rc depending on how old their library is.

> Why not just have --dep-info take an optional argument?

+1. gcc has options for this as well.