rust-lang/rust — pull request #17943 by JIghtuse (2014-10-11 09:38:57+00:00)
Title: loader: suggest to set crate type explicitly

Now loader suggests to set crate type explicitly if it founds file with
name similar to crate name, but different extension.

This commit adds warning if loader found static library instead of rlib
or dylib.
Closes #14416.