Closed
Description
The --dep-info flag to rustc only prints out the source file(s) that make up the output crate. It does not print out any libraries though.
For an example file "a.rs" compiled into a binary crate "a", if "a.rs" has "extern crate b" and rustc statically links in "libb.rlib", I would expect dependency info to include the fact as "a: libb.rlib", so that whenever libb.rlib changes, a.rs is recompiled into a. Similarly for other crate types.
If --dep-info can not be modified, perhaps --full-dep-info will be considered.